SA-MP Forums Archive
[HELP] Onplayerrequestclass create objects and cars - 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] Onplayerrequestclass create objects and cars (/showthread.php?tid=162290)



[HELP] Onplayerrequestclass create objects and cars - WThieves - 22.07.2010

Hi there here is my problem:
I have got an onplayerrequestclass function where you see a character in front of some created objects BUT the objects are not there!, it seems as if i am in some kind of virtual world, but i don't have any defined.
So how could i do this?

Thanks in advance!


Re: [HELP] Onplayerrequestclass create objects and cars - xfelipex - 23.07.2010

I wanted to know that too. I saw it on a rpg server =d


Re: [HELP] Onplayerrequestclass create objects and cars - DarkClone - 23.07.2010

You should create them OnGameModeInit. I think it would be better.


Re: [HELP] Onplayerrequestclass create objects and cars - Яσскѕтая - 23.07.2010

Just a thought maybe setting the player to world 0 when there requesting class? Not sure just a suggestion.


Re: [HELP] Onplayerrequestclass create objects and cars - TheKingOfSamp - 23.07.2010

acutally i had as this problem but i repair it , if you want to make objects seems in game put the codes under car
which means not in cars lines ,down line and write //Objects