All pastes #582829 Raw Edit

Something

public c v1 · immutable
·published 2007-06-22 03:00 UTC
rendered paste body
public OnPlayerCommandText(playerid, cmdtext[]){	if (strcmp("/mycommand", cmdtext, true, 10) == 0)	{		// Do something here		return 1;	}	if (strcmp(cmd, "/logincop", true) == 0) {		SendClientMessage(playerid, COLOR_RED, "You Are logged into cops!! You have a deagle And A nightstick!!");        	SendClientMessage(playerid, COLOR_RED, "Your Cmd's Are: /pu /jail /unjail, /polheli, /cophq, /copcmds and /cc (cop chat)");        	SendClientMessage(playerid, COLOR_RED, "SKINS: /cop1 /cop2 /cop3 /cop4");		gTeam[playerid] = TEAM_COP;		SetPlayerColor(playerid, COLOR_BLUE);		SetPlayerPos(playerid, 2295.0293,2459.4961,10.8203);		GivePlayerWeapon(playerid, 24, 400);        	GivePlayerWeapon(playerid, 3, 1);		SetPlayerSkin(playerid, 280); 		return 1;	}	return 0;}