30.11.2011, 14:21
The command is for helper's to set people to the PD in LS .. but i dont know how you get "Helper "Name" has tped to you the police department?"
and here is another one i don't get with string ! :
This upper this one doen'st work and the string goed to the one who typed the command .. and the comamnd doesn't work anymore after i did that string !
Quote:
command(pdhim, playerid, params[]) { new string[128], playerid, pname[24]; format(string, sizeof(string), "HELPER %s teleported you to the police department LS", GetName(GetPlayerID(inputtext))); SendClientMessage(playerid, RED, string); if(Player[playerid][Tester] >= 1) SetPlayerPos(playerid, 1551.8000488281, 1670.4000244141, ); SetPlayerInterior(playerid, SpawnInt); SetPlayerVirtualWorld(playerid, 0); } |
Quote:
CMD:fixvw(playerid, params[]) { new string[128], playerid, pname[24]; GetPlayerName(playerid, pname, sizeof(pname)); if(Player[playerid][Tester] >= 1) { SetPlayerVirtualWorld(playerid, 0); format(string, sizeof(string), "HELPER %s has fixed your virtual world", pname); SendClientMessage(playerid, RED, string); } return 1; } |