09.08.2010, 01:50
Anyone got that GetClosestPlayer Function? I'ma need it
lol well, anyone wanna tell me how to use this right? xD
|
COMMAND:taze(playerid, params[])
{
if(File[playerid][Faction] == 1)
{
GameTextForPlayer(GetClosestPlayer(playerid), "~r~Tazed!", 1000, 1);
TogglePlayerControllable(GetClosestPlayer(playerid), 0);
}
return 1;
}