SA-MP Forums Archive
[HELP] 02x-03 - 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] 02x-03 (/showthread.php?tid=100963)



[HELP] 02x-03 - Matthew_Murdoch - 07.10.2009

Im in the process of making the change from 0.2x to 0.3

i would like to know with the things below what i need to change.

Need:
0.3 general changes
Below help

NUMBER 1:
0.3 errors on public OnPlayerPrivMsg
so i used forward to declare it, is that the right thing to do?

//foward OnPlayerPrivmsg(playerid, recieverid, text[]);

NUMBER 2:
copied some of the new "public" from new.pwn
commented all exept "OnPlayerClickPlayer"
is this the correct thing to do?

NUMBER 3:
I need help making NPC's connect to my server, i have a register and login system BUT i want to keep it is there a way to bypass this for NPC's seeing as a RP script is useless without registering etc.
Also has server password BUT there is no password, it could be stopping NPC's on connecting, i'm not sure.

NUMBER 5:
IV seen other edits (Vortex Roleplay) contains MAX_S_VEHICLES exactly like MAX_S_PICKUPS, should i replace ALL "max_vehicles" to "max_s_vehicles"?
Iv'e done so already. . .but im not sure if its correct
Iv,e UPLOADED both my 0.2x pwn and 0.3.
download:
http://www.sendspace.com/file/cukzej

the readme.txt is all what i've said above.

Regards
euRo


Re: [HELP] 02x-03 - Correlli - 07.10.2009

OnPlayerPrivmsg is removed in 0.3 version.

Read the stickied topics:
http://forum.sa-mp.com/index.php?topic=125616.0
http://forum.sa-mp.com/index.php?topic=125537.0
http://forum.sa-mp.com/index.php?topic=119947.0


Re: [HELP] 02x-03 - Matthew_Murdoch - 07.10.2009

I read the tutorials, my NPC's are in an FS.
So how do i get them to join?


Re: [HELP] 02x-03 - Correlli - 07.10.2009

By using the "ConnectNPC" function.


Re: [HELP] 02x-03 - Matthew_Murdoch - 07.10.2009

I used, isplayernpc return 1; on callbacks in my gm. Seems to work but which callbacks must i put them in?

Ps: i need the general 0.2-0.3 upgrade advice according to my gm, pls guys