SA-MP Forums Archive
SetVehicleToRespawn - 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: SetVehicleToRespawn (/showthread.php?tid=560253)



SetVehicleToRespawn - DavidSparks - 27.01.2015

pawn Код:
SetVehicleToRespawn(FBIVehicles[0]);
    SetVehicleToRespawn(FBIVehicles[1]);
    SetVehicleToRespawn(FBIVehicles[2]);
What can it be?

Код:
[20:23:56] [debug] #2 0019fe94 in public Audio_OnGameModeInit () at C:\Users\Mеns\Desktop\...\gamemodes\SFRP.pwn:29065
[20:23:56] [debug] #3 native CallLocalFunction () from samp-server.exe

[20:23:56] [debug] #2 0019fec8 in public Audio_OnGameModeInit () at C:\Users\...\Desktop\...\gamemodes\SFRP.pwn:29066
[20:23:56] [debug] #3 native CallLocalFunction () from samp-server.exe

[20:23:56] [debug] #2 0019fefc in public Audio_OnGameModeInit () at C:\Users\...\Desktop\...\gamemodes\SFRP.pwn:29067
[20:23:56] [debug] #3 native CallLocalFunction () from samp-server.exe



Re: SetVehicleToRespawn - DavidSparks - 28.01.2015

bump...


Re: SetVehicleToRespawn - Patrik356b - 28.01.2015

This is most likely caused by trying to respawn a vehicle which has not spawned yet.

Why are you respawning vehicles under GameModeInit ?


Re: SetVehicleToRespawn - DavidSparks - 28.01.2015

Quote:
Originally Posted by Patrik356b
Посмотреть сообщение
This is most likely caused by trying to respawn a vehicle which has not spawned yet.

Why are you respawning vehicles under GameModeInit ?
Good question, I should maybe change it to erm.. what should I change it to? xD