Kako da prebacim vozilo da bude u drugom worldu?

Započeo M!chaeL, Mart 17, 2018, 14:09:37 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Problem(error/warning): //
Dio skripte: [ pawn ]   lz_PutPlayerInVehicle(playerid, 519, 0);[ /pawn ]
Debug iz server_log(ukoliko je u pitanju crashanje servera - crashdetect log): [ code ]vaš odgovor[ /code ]
Slika/video ingame problema(obavezno ako je ingame problem): link slike


Mozes mi ti ovde to ubaciti pa poslati? posto ne razumem bas najbolje..
evo kod ako mozes
[pawn]YCMD:joinpubg(playerid,params[],help)
{
   #pragma unused help
   if(UlogovanIgrac[playerid] == 0 || PI[playerid][pReg] == 0) return Error(playerid, "Nisi ulogovan/a ili nisi registrovan/a");
   if(IsPlayerInAnyVehicle(playerid)) return Error(playerid, "Ne mozes to u vozilu!");
   //lz_SetPlayerPos(playerid, kordinate);
   lz_PutPlayerInVehicle(playerid, 519, 0);
   lz_SetPlayerVirtualWorld(playerid, 999);
   return 1;
}[/pawn]

YCMD:joinpubg(playerid,params[],help)
{
#pragma unused help
if(UlogovanIgrac[playerid] == 0 || PI[playerid][pReg] == 0) return Error(playerid, "Nisi ulogovan/a ili nisi registrovan/a");
if(IsPlayerInAnyVehicle(playerid)) return Error(playerid, "Ne mozes to u vozilu!");
//lz_SetPlayerPos(playerid, kordinate);
lz_PutPlayerInVehicle(playerid, 519, 0);
lz_SetPlayerVirtualWorld(playerid, 999);
lz_SetVehicleVirtualWorld(GetPlayerVehicleID(playerid), 999);
return 1;
}


Ako ti je lz_SetVehicleVirtualWorld undefined, onda stavi samo SetVehicleVirtualWorld
HARD WORK BEATS TALENT

radi, hvala a kako da namestim da uvek kad neko ukuca /joinpubg da ga stavi na suvazacevo mesto? a ne na vozacevo