01.04.2015, 12:28
I'm not sure..i want to show a GameTextForPlayer About 'Wasted' when he is dead..no matter whatever time i change..the wasted appears like after 1 second if i spawn.
In the above code the milliseconds are 1000 if i change them to 5000 their appearance time will be same as it was before..im not sure whats the problem..i want it to disappear at the same time when player repsawn and i guess its around 4000 milliseconds..
Secondly, Im not sure that after Players death the weapons gets reset? cause when i die..and if i have some weapon ill be still having them after respawn..is it normal? i mean do i need to manually reset the weapons using like -
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
PlayerInfo[playerid][pSpawn] = 0;
GMT(playerid,"~r~~h~Wasted",1000,1);
Secondly, Im not sure that after Players death the weapons gets reset? cause when i die..and if i have some weapon ill be still having them after respawn..is it normal? i mean do i need to manually reset the weapons using like -
pawn Код:
ResetPlayerWeapons(playerid);