SA-MP Forums Archive
probleme with add maps - 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)
+--- Thread: probleme with add maps (/showthread.php?tid=466403)



probleme with add maps - matrix2 - 27.09.2013

hi guys,

when I put the 5 th map I have problem that object does not appear in the first map, I already test and hopefully I do not know why, and thank you guys for your help. any one can help any idea


switch ( MapChange ) {
case 0://ZM_SpaceStation
{
SetPlayerPos(playerid, -248.4745,-46.2300,290.9550);
SetPlayerFacingAngle(playerid,284.9311);
SendRconCommand("hostname Zombie Mode [Map 1/20]");

}
case 1://ZM_ufoinvasion
{
SetPlayerPos(playerid,-2548.1179,608.2272,17.2041);
SetPlayerFacingAngle(playerid,284.9311);
SendRconCommand("hostname Zombie Mode [Map 2/20]");
__________________



Re: probleme with add maps - bathushan - 27.09.2013

Quote:
Originally Posted by matrix2
Посмотреть сообщение
hi guys,

when I put the 5 th map I have problem that object does not appear in the first map, I already test and hopefully I do not know why, and thank you guys for your help. any one can help any idea


switch ( MapChange ) {
case 0://ZM_SpaceStation
{
SetPlayerPos(playerid, -248.4745,-46.2300,290.9550);
SetPlayerFacingAngle(playerid,284.9311);
SendRconCommand("hostname Zombie Mode [Map 1/20]");

}
case 1://ZM_ufoinvasion
{
SetPlayerPos(playerid,-2548.1179,608.2272,17.2041);
SetPlayerFacingAngle(playerid,284.9311);
SendRconCommand("hostname Zombie Mode [Map 2/20]");
__________________
Also it's so,

Samp 0,3x can hold only 1000 or 3000 Objekts, if you try to put more, it will remove form old,

How to solf ?

Ans :: replace "createobject" with "createdynamicobject"


Re: probleme with add maps - matrix2 - 27.09.2013

so I have that problem ;and I say that something bad with work weeks pfff, thanks you bro..


Re: probleme with add maps - matrix2 - 27.09.2013

if you have some thing replace CreateObject by CreateDynamicObject faster because I have more than 4000 line .xD