Enum being available for gamemode and filterscript.
#5

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.
Reply


Messages In This Thread
Enum being available for gamemode and filterscript. - by Magic_Time - 22.08.2013, 03:30
Re: Enum being available for gamemode and filterscript. - by ProjectMan - 22.08.2013, 03:32
Re: Enum being available for gamemode and filterscript. - by SuperViper - 22.08.2013, 03:32
Re: Enum being available for gamemode and filterscript. - by Magic_Time - 22.08.2013, 03:43
Re: Enum being available for gamemode and filterscript. - by Dr.Einstein - 22.08.2013, 04:14

Forum Jump:


Users browsing this thread: 1 Guest(s)