player command
#1

im trying to build a command to work for crtain players this is whati got but it works for everyone
if(strcmp(cmd, "/gir", true) == 0)
{
if(strcmp(PlayerName(playerid), "Anna_Cortez", true) != 0)
{
new Float, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
SetVehiclePos(xxannajpxx, x, y, z+2);

}
else SendClientMessage(playerid, LIGHTBLUE, "You are not a high enough Admin!");
return 1;
}
Reply


Messages In This Thread
player command - by farris - 09.09.2010, 00:40
Re: player command - by iggy1 - 09.09.2010, 00:56

Forum Jump:


Users browsing this thread: 1 Guest(s)