SA-MP Forums Archive
[HELP]Set to variable. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP]Set to variable. (/showthread.php?tid=276424)



[HELP]Set to variable. - Riddick94 - 13.08.2011

-cut-

I can't give people my code.


Re: [HELP]Set to variable. - Riddick94 - 14.08.2011

Second day and this topic too is on the fourth page, lol. Who knows what am i doing wrong? just tell me and i will try to fix that.


Re: [HELP]Set to variable. - Riddick94 - 15.08.2011

10 page. I need to know what am i doing wrong.


Re: [HELP]Set to variable. - MadeMan - 15.08.2011

pawn Код:
PlayerInfo[playerid][pTraceurSender] = playerid;
Are you sure this is correct?


Re: [HELP]Set to variable. - Riddick94 - 15.08.2011

What's wrong with it? because i made it for giveplayerid and won't work too. And made it for PVars and i got still this fucking bugs. I'm really getting angry with this shit. Can you tell me what's wrong with it and how to do this?


Re: [HELP]Set to variable. - MadeMan - 15.08.2011

I would add giveplayerid there

pawn Код:
PlayerInfo[giveplayerid][pTraceurSender] = playerid;



Re: [HELP]Set to variable. - Riddick94 - 15.08.2011

Okey so.. i don't understand. I know a lot i think about PAWN but explain me this if you can. Because sender should be me.. and i saving this [playerid] variable so it's me. Not giveplayerid. I don't understand?

P.S
It works.


Re: [HELP]Set to variable. - MadeMan - 15.08.2011

You have to save playerid to [giveplayerid], because giveplayerid sees the dialog.


Re: [HELP]Set to variable. - Riddick94 - 15.08.2011

Ahh damn. Thanks for this. It helped me alot