Change NPC car ID, because it spawn as ID1 and 2 and there is already ID1 and 2 parked. - 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: Change NPC car ID, because it spawn as ID1 and 2 and there is already ID1 and 2 parked. (
/showthread.php?tid=394849)
2 Different problems [UPDATED] -
Kethrios - 24.11.2012
Hello guys !
I use this Bus system :
https://sampforum.blast.hk/showthread.php?tid=275695
It works really really fine.
But I would like to ask you something :
- When I use the filterscript, and the bus spawns, they use ID1 AND 2 (the 2 bus, not the NPCs). And it provoque problems because there already is a id 1 and 2 cars inGame (colors are broken, etc...), how can I spawn them as id X and X ?
Thank you in advance.
Second issue :
Instead of creating a new thread, here is an other problem I have.
I tried to put a /checkbelt.
But I got these warnings :
pawn Код:
C:\Users\Geo\Desktop\Ca marche\a jour\gamemodes\lairp.pwn(20687) : warning 213: tag mismatch
C:\Users\Geo\Desktop\Ca marche\a jour\gamemodes\lairp.pwn(20687) : warning 213: tag mismatch
C:\Users\Geo\Desktop\Ca marche\a jour\gamemodes\lairp.pwn(20707) : warning 202: number of arguments does not match definition
C:\Users\Geo\Desktop\Ca marche\a jour\gamemodes\lairp.pwn(64610) : warning 203: symbol is never used: "Seatbelt"
20867 :
pawn Код:
if(PlayerInfo[playerid][pMember] != 1 && PlayerInfo[playerid][pLeader] != 1 && PlayerInfo[playerid][pMember] != 2 && PlayerInfo[playerid][pLeader] != 2)
20707 :
pawn Код:
ProxDetector(30.0, playerid, string2, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
Re: Change NPC car ID, because it spawn as ID1 and 2 and there is already ID1 and 2 parked. -
Vince - 24.11.2012
Impossible. Your main script is rubbish if it relies solely on static vehicleids. Probably a godfather edit.
Re : Change NPC car ID, because it spawn as ID1 and 2 and there is already ID1 and 2 parked. -
Kethrios - 24.11.2012
Thank you vince for the explaination. Well that's unfortunate..
Anyway, updated my thread for a second problem, can you please check this one ?