30.11.2012, 19:13
i need help when i used this script the bus stuck in Blueberry and not run
Heres the Link of the FS: https://sampforum.blast.hk/showthread.php?tid=275695
i already put this on my OnPlayerSpawn
and this on my OnGameModInit
My Problem is the blue bus and black bus is always stuck in blueberry
thanks in advance
Heres the Link of the FS: https://sampforum.blast.hk/showthread.php?tid=275695
i already put this on my OnPlayerSpawn
PHP код:
if(IsPlayerNPC(playerid))
{
new npcname[MAX_PLAYER_NAME];
GetPlayerName(playerid, npcname, sizeof(npcname));
if(!strcmp(npcname, "Bus_Driver", true))
{
PutPlayerInVehicle(playerid, BusDriverVehicle, 0);
}
if(!strcmp(npcname, "Bus_Driver2", true))
{
PutPlayerInVehicle(playerid, BusDriverVehicle2, 0);
return 1;
}
return 1;
}
PHP код:
ConnectNPC("Bus_Driver","bus");
BusDriverVehicle = CreateVehicle(437, 0.0, 0.0, 5.0, 0.0, 3, 3, -1);
ConnectNPC("Bus_Driver2","bus2");
BusDriverVehicle2 = CreateVehicle(437, 0.0, 0.0, 5.0, 0.0, 3, 3, -1)
thanks in advance