All pastes #609042 Raw Edit

[PHX]Randy

public text v1 · immutable
·published 2007-07-08 17:11 UTC
rendered paste body
if(strcmp(cmd, "/carid", true) == 0)
	{
		tmp = strtok(cmdtext, idx);
		if(!strlen(tmp))
		{
			SendClientMessage(playerid, COLOR_GRAD2, "USAGE: /nos");
			return 1;
		}
		if ((IsPlayerAdmin(playerid)) || PlayerInfo[playerid][pAdmin] >= 101)
		{
			format(string, sizeof(string), "Your car is id %s",carid);
			SendClientMessageToAll(COLOR_GRAD1, string);
		}
		else
		{
			SendClientMessage(playerid, COLOR_GRAD1, "   you are not authorized to use that command!");
		}