All pastes #542746 Raw Edit

Miscellany

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