SA-MP Forums Archive
Native Setproperty function - 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: Native Setproperty function (/showthread.php?tid=211675)



Native Setproperty function - Jochemd - 15.01.2011

Hello,

This page is still unclear for me, even though the wiki should explain it. Can anyone explain it better?

Regards, Jochem


Re: Native Setproperty function - Joe Staff - 15.01.2011

Think of it is pvars, except with the server


Re: Native Setproperty function - Flyfishes - 15.01.2011

It's for the businesses 'DisableInteriorEnterExits();' I think, but I'm not sure.


Re: Native Setproperty function - Calgon - 15.01.2011

As SilentHuntR said, Setproperty generally works like PVars but they do not have a playerid assigned.

pawn Код:
// Wiki example, modified
setproperty(0, "", 123984334, "Herman the German");
 
new value[18];
getproperty(0, "", 123984334, value);
print(value);
 
//should print "Herman the German"
Quote:
Originally Posted by Flyfishes
Посмотреть сообщение
It's for the businesses 'DisableInteriorEnterExits();' I think, but I'm not sure.
Don't post if you have no idea of what you're talking about.


Re: Native Setproperty function - DiDok - 16.01.2011

Wow, I always wondering what the hell this things do, is it useful?