Change NPC car ID, because it spawn as ID1 and 2 and there is already ID1 and 2 parked.
#1

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);
Reply
#2

Impossible. Your main script is rubbish if it relies solely on static vehicleids. Probably a godfather edit.
Reply
#3

Thank you vince for the explaination. Well that's unfortunate..
Anyway, updated my thread for a second problem, can you please check this one ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)