Quote:
Originally Posted by Magic_Time
Hi, thanks for the response..
So? Can I do it like this:
On my filterscript:
Below my OnPlayerDeath:
PHP код:
SetPVarInt(playerid, "Deaths", PlayerInfo[playerid][Deaths]);
My gamemode:
Maybe a textdraw where I want to show the deaths..:
PHP код:
new deaths[playerid] = GetPVarInt(playerid, "Deaths");
Is that right?
|
The way I learned how to code was by testing every single function of SAMP on my own. Trying to experiment with everything. Tested what did this certain function return when this or that was changed. Try that sometime, it will really help you out. And yes, that is one way of doing it. And yes, that way would be right. Try testing with CallRemoteFunction... it will help you even more. And here is a suggestion, if possible try to put together in one place. It'll be easier to handle and read.