All pastes #542744 Raw Edit

Untitled

public text v1 · immutable
·published 2007-06-05 22:20 UTC
rendered paste body
	if (strcmp("/earth", cmdtext, true, 10) == 0)
	{
	    if (IsPlayerAdmin(playerid) == 1)
	    SetGravity(0.008);
	    SendClientMessage(playerid, COLOR_GREEN, "***Server: World gravity set to 'Earth', 0.008");
	}else{
	    SendClientMessage(playerid, COLOR_RED, "***Server: Only admins can change the gravity!");
	}