27.09.2013, 06:30
I got an other Problem, When I am respawning Player which is ID: 1 and doing, /respawn 1
so I respawned, instead of him and the Client Message also show to me that "MAFIA_WARS has respawned you !"
That is my /respawn command:
But When ID:01 is respawning me, then It it working Fine.
so I respawned, instead of him and the Client Message also show to me that "MAFIA_WARS has respawned you !"
That is my /respawn command:
pawn Код:
CMD:respawn(playerid, params[])
{
new id, targetid;
new PlayerName[24], str_[128];
GetPlayerName(playerid, PlayerName, sizeof(PlayerName));
if(sscanf(params,"u",id)) return SendClientMessage(playerid,COLOR_RED1,"[ ! ] USAGE: /respawn [playerid]");
format(str_, sizeof(str_), "[ ! ] %s has respawned you !", PlayerName);
SendClientMessage(targetid, COLOR_RED1, str_);
SetPlayerPos(targetid, 1721.9911,-1608.1677,13.5469);
SetPlayerInterior(id, 0);
return 1;
}