onplayer death
#1

in my script player death so they lose weapon any idea? i dnt want they lose it and wanted lvl will be 0 and i dnt want wanted lvl will be 0 i want what weapons they had and wanted lvl too.
Reply
#2

Save the for example the wanted level, like, new Wantedlevel[MAX_PLAYERS];
Then, under onplayerdeath, get the wantedlevel variable, and save it to Wantedlevel[playerid].
Then, OnPlayerSpawn, set the players wanted level, with the amount of the saved Wantedlevel[playerid].
Do this for the weapons, and you're done.
Reply
#3

thanks my sexy bitch. +rep for you're ass.
Reply
#4

Wow!
Is a number of doctor: 052656492
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)