11.03.2015, 17:11
(
Last edited by sampkinq; 11/03/2015 at 06:49 PM.
)
How can the name of the person falling Czech ?
- My English is bad. Sorry
Code:
public OnPlayerUpdate(playerid) { if(suPatlamaInmeCikma[playerid] == 1) { new Float:X, Float:Y, Float:Z; GetPlayerPos(playerid, X, Y, Z); if(IsPlayerInRangeOfPoint(playerid, 0.5, X, Y, 0.0)) { new killername[MAX_PLAYER_NAME], playername[MAX_PLAYER_NAME],string[256],killerid; //problem GetPlayerName(killerid, killername, sizeof(killername)); // problem GetPlayerName(playerid, playername, sizeof(playername)); // problem format(string, 250, "[Derby] Player: %s >> %s Water Cuts", killername,playername); // problem SendClientMessageToAll(-1,string); // problem ddSira--; katildim[playerid] = 0; suPatlamaInmeCikma[playerid] = 0; DestroyVehicle(ddAraba[playerid]); SetPVarInt(playerid,"katildi",0); SpawnPlayer(playerid); }} return 1; }