pawn Код:
//-------------------------------------------------
//
// NPC initialisation for Grand Larceny
//
//-------------------------------------------------
#pragma tabsize 0
#include <a_samp>
new NPCCount = 0; //At the top of your script, outside any callbacks
new Julius50; //Global variable!
new Julius51; //Global variable!
new Julius52; //Global variable!
new Julius53; //Global variable!
new Julius54; //Global variable!
new Julius55; //Global variable!
new Julius56; //Global variable!
new Julius57; //Global variable!
new Julius58; //Global variable!
new Julius59; //Global variable!
new Julius60; //Global variable!
new Julius61; //Global variable!
new Julius62; //Global variable!
new Julius63; //Global variable!
new Julius64; //Global variable!
//-------------------------------------------------
public OnFilterScriptInit()
{
print("my filterscript");
SetTimer("NPC_ConnectAll", 1000, false);
return 1;
}
forward NPC_ConnectAll();
public NPC_ConnectAll()
{
switch(NPCCount)
{
case 0: ConnectNPC("Julius50","Julius50");
case 1: ConnectNPC("Julius51","Julius51");
case 2: ConnectNPC("Julius52","Julius52");
case 3: ConnectNPC("Julius53","Julius53");
case 4: ConnectNPC("Julius54","Julius54");
case 5 :ConnectNPC("Julius55","Julius55");
case 6: ConnectNPC("Julius56","Julius56");
case 7: ConnectNPC("Julius57","Julius57");
case 8: ConnectNPC("Julius58","Julius58");
case 9: ConnectNPC("Julius59","Julius59");
case 10: ConnectNPC("Julius60","Julius60");
case 11: ConnectNPC("Julius61","Julius61");
case 12:ConnectNPC("Julius62","Julius62");
case 13: ConnectNPC("Julius63","Julius63");
case 14: ConnectNPC("Julius64","Julius64");
case 15: ConnectNPC("PilotLV", "at400_lv");
case 16: ConnectNPC("PilotSF", "at400_sf");
case 17: ConnectNPC("PilotLS", "at400_ls");
case 18 .. 59:
{
new fstr[12];
format(fstr, sizeof(fstr), "daddycar%d", (NPCCount - 6));
ConnectNPC(fstr, fstr);
}
case 60: ConnectNPC("TrainDriverLV", "train_lv");
case 61: ConnectNPC("TrainDriverLS", "train_ls");
case 62: ConnectNPC("TrainDriverSF", "train_sf");
case 63: ConnectNPC("53", "53");
// Testing
case 64: ConnectNPC("DriverTest1", "mat_test");
case 65: ConnectNPC("DriverTest2", "driver_test2");
case 66: ConnectNPC("DriverTest3", "driver_test3");
}
NPCCount++;
SetTimer("NPC_ConnectAll", 500, false);
return 1;
}
//-------------------------------------------------
// IMPORTANT: This restricts NPCs connecting from
// an IP address outside this server. If you need
// to connect NPCs externally you will need to modify
// the code in this callback.
public OnPlayerConnect(playerid)
{
if(IsPlayerNPC(playerid)) {
new ip_addr_npc[64+1];
new ip_addr_server[64+1];
GetServerVarAsString("bind",ip_addr_server,64);
GetPlayerIp(playerid,ip_addr_npc,64);
if(!strlen(ip_addr_server)) {
ip_addr_server = "127.0.0.1";
}
if(strcmp(ip_addr_npc,ip_addr_server,true) != 0) {
// this bot is remote connecting
printf("NPC: Got a remote NPC connecting from %s and I'm kicking it.",ip_addr_npc);
Kick(playerid);
return 0;
}
printf("NPC: Connection from %s is allowed.",ip_addr_npc);
}
return 1;
}
//-------------------------------------------------
public OnPlayerRequestClass(playerid, classid)
{
if(!IsPlayerNPC(playerid)) return 0; // We only deal with NPC players in this script
new playername[64];
GetPlayerName(playerid,playername,64);
if(!strcmp(playername,"TrainDriverLV",true)) {
SetSpawnInfo(playerid,69,255,1462.0745,2630.8787,10.8203,0.0,-1,-1,-1,-1,-1,-1);
}
else if(!strcmp(playername,"TrainDriverSF",true)) {
SetSpawnInfo(playerid,69,255,-1942.7950,168.4164,27.0006,0.0,-1,-1,-1,-1,-1,-1);
}
else if(!strcmp(playername,"TrainDriverLS",true)) {
SetSpawnInfo(playerid,69,255,1700.7551,-1953.6531,14.8756,0.0,-1,-1,-1,-1,-1,-1);
}
else if(!strcmp(playername,"PilotLV",true)) {
SetSpawnInfo(playerid,69,61,0.0,0.0,0.0,0.0,-1,-1,-1,-1,-1,-1);
}
else if(!strcmp(playername,"PilotSF",true)) {
SetSpawnInfo(playerid,69,61,0.0,0.0,0.0,0.0,-1,-1,-1,-1,-1,-1);
}
else if(!strcmp(playername,"PilotLS",true)) {
SetSpawnInfo(playerid,69,61,0.0,0.0,0.0,0.0,-1,-1,-1,-1,-1,-1);
}
else if(!strcmp(playername,"DriverTest1",true)) {
SetSpawnInfo(playerid,69,61,2388.1003,-1279.8933,25.1291,94.3321,-1,-1,-1,-1,-1,-1);
}
else if(!strcmp(playername,"DriverTest2",true)) {
SetSpawnInfo(playerid,69,61,2388.1003,-1279.8933,25.1291,94.3321,-1,-1,-1,-1,-1,-1);
}
else if(!strcmp(playername,"DriverTest3",true)) {
SetSpawnInfo(playerid,69,61,2388.1003,-1279.8933,25.1291,94.3321,-1,-1,-1,-1,-1,-1);
}
else if(!strcmp(playername,"daddycar0",true)) {
SetSpawnInfo(playerid,69,61,2388.1003,-1279.8933,25.1291,94.3321,-1,-1,-1,-1,-1,-1);
}
else if(!strcmp(playername,"daddycar1",true)) {
SetSpawnInfo(playerid,69,61,2388.1003,-1279.8933,25.1291,94.3321,-1,-1,-1,-1,-1,-1);
}
else if(!strcmp(playername,"daddycar2",true)) {
SetSpawnInfo(playerid,69,61,2388.1003,-1279.8933,25.1291,94.3321,-1,-1,-1,-1,-1,-1);
}
else if(!strcmp(playername,"daddycar3",true)) {
SetSpawnInfo(playerid,69,61,2388.1003,-1279.8933,25.1291,94.3321,-1,-1,-1,-1,-1,-1);
}
else if(!strcmp(playername,"daddycar4",true)) {
SetSpawnInfo(playerid,69,61,2388.1003,-1279.8933,25.1291,94.3321,-1,-1,-1,-1,-1,-1);
}
else if(!strcmp(playername,"daddycar5",true)) {
SetSpawnInfo(playerid,69,61,2388.1003,-1279.8933,25.1291,94.3321,-1,-1,-1,-1,-1,-1);
}
else if(!strcmp(playername,"daddycar6",true)) {
SetSpawnInfo(playerid,69,61,2388.1003,-1279.8933,25.1291,94.3321,-1,-1,-1,-1,-1,-1);
}
else if(!strcmp(playername,"daddycar7",true)) {
SetSpawnInfo(playerid,69,61,2388.1003,-1279.8933,25.1291,94.3321,-1,-1,-1,-1,-1,-1);
}
else if(!strcmp(playername,"daddycar8",true)) {
SetSpawnInfo(playerid,69,61,2388.1003,-1279.8933,25.1291,94.3321,-1,-1,-1,-1,-1,-1);
}
else if(!strcmp(playername,"daddycar9",true)) {
SetSpawnInfo(playerid,69,61,2388.1003,-1279.8933,25.1291,94.3321,-1,-1,-1,-1,-1,-1);
}
else if(!strcmp(playername,"daddycar10",true)) {
SetSpawnInfo(playerid,69,61,2388.1003,-1279.8933,25.1291,94.3321,-1,-1,-1,-1,-1,-1);
}
else if(!strcmp(playername,"daddycar11",true)) {
SetSpawnInfo(playerid,69,61,2388.1003,-1279.8933,25.1291,94.3321,-1,-1,-1,-1,-1,-1);
}
else if(!strcmp(playername,"daddycar12",true)) {
SetSpawnInfo(playerid,69,61,2388.1003,-1279.8933,25.1291,94.3321,-1,-1,-1,-1,-1,-1);
}
else if(!strcmp(playername,"daddycar13",true)) {
SetSpawnInfo(playerid,69,61,2388.1003,-1279.8933,25.1291,94.3321,-1,-1,-1,-1,-1,-1);
}
else if(!strcmp(playername,"daddycar14",true)) {
SetSpawnInfo(playerid,69,61,2388.1003,-1279.8933,25.1291,94.3321,-1,-1,-1,-1,-1,-1);
}
else if(!strcmp(playername,"daddycar15",true)) {
SetSpawnInfo(playerid,69,61,2388.1003,-1279.8933,25.1291,94.3321,-1,-1,-1,-1,-1,-1);
}
else if(!strcmp(playername,"daddycar16",true)) {
SetSpawnInfo(playerid,69,61,2388.1003,-1279.8933,25.1291,94.3321,-1,-1,-1,-1,-1,-1);
}
else if(!strcmp(playername,"daddycar17",true)) {
SetSpawnInfo(playerid,69,61,2388.1003,-1279.8933,25.1291,94.3321,-1,-1,-1,-1,-1,-1);
}
else if(!strcmp(playername,"daddycar18",true)) {
SetSpawnInfo(playerid,69,61,2388.1003,-1279.8933,25.1291,94.3321,-1,-1,-1,-1,-1,-1);
}
else if(!strcmp(playername,"daddycar19",true)) {
SetSpawnInfo(playerid,69,61,2388.1003,-1279.8933,25.1291,94.3321,-1,-1,-1,-1,-1,-1);
}
else if(!strcmp(playername,"daddycar20",true)) {
SetSpawnInfo(playerid,69,61,2388.1003,-1279.8933,25.1291,94.3321,-1,-1,-1,-1,-1,-1);
}
else if(!strcmp(playername,"daddycar21",true)) {
SetSpawnInfo(playerid,69,61,2388.1003,-1279.8933,25.1291,94.3321,-1,-1,-1,-1,-1,-1);
}
else if(!strcmp(playername,"daddycar22",true)) {
SetSpawnInfo(playerid,69,61,2388.1003,-1279.8933,25.1291,94.3321,-1,-1,-1,-1,-1,-1);
}
else if(!strcmp(playername,"daddycar23",true)) {
SetSpawnInfo(playerid,69,61,2388.1003,-1279.8933,25.1291,94.3321,-1,-1,-1,-1,-1,-1);
}
else if(!strcmp(playername,"daddycar24",true)) {
SetSpawnInfo(playerid,69,61,2388.1003,-1279.8933,25.1291,94.3321,-1,-1,-1,-1,-1,-1);
}
else if(!strcmp(playername,"daddycar25",true)) {
SetSpawnInfo(playerid,69,61,2388.1003,-1279.8933,25.1291,94.3321,-1,-1,-1,-1,-1,-1);
}
else if(!strcmp(playername,"daddycar26",true)) {
SetSpawnInfo(playerid,69,61,2388.1003,-1279.8933,25.1291,94.3321,-1,-1,-1,-1,-1,-1);
}
else if(!strcmp(playername,"daddycar27",true)) {
SetSpawnInfo(playerid,69,61,2388.1003,-1279.8933,25.1291,94.3321,-1,-1,-1,-1,-1,-1);
}
else if(!strcmp(playername,"daddycar28",true)) {
SetSpawnInfo(playerid,69,61,2388.1003,-1279.8933,25.1291,94.3321,-1,-1,-1,-1,-1,-1);
}
else if(!strcmp(playername,"daddycar29",true)) {
SetSpawnInfo(playerid,69,61,2388.1003,-1279.8933,25.1291,94.3321,-1,-1,-1,-1,-1,-1);
}
else if(!strcmp(playername,"daddycar30",true)) {
SetSpawnInfo(playerid,69,61,2388.1003,-1279.8933,25.1291,94.3321,-1,-1,-1,-1,-1,-1);
}
else if(!strcmp(playername,"daddycar31",true)) {
SetSpawnInfo(playerid,69,61,2388.1003,-1279.8933,25.1291,94.3321,-1,-1,-1,-1,-1,-1);
}
else if(!strcmp(playername,"daddycar32",true)) {
SetSpawnInfo(playerid,69,61,2388.1003,-1279.8933,25.1291,94.3321,-1,-1,-1,-1,-1,-1);
}
else if(!strcmp(playername,"daddycar33",true)) {
SetSpawnInfo(playerid,69,61,2388.1003,-1279.8933,25.1291,94.3321,-1,-1,-1,-1,-1,-1);
}
else if(!strcmp(playername,"daddycar34",true)) {
SetSpawnInfo(playerid,69,61,2388.1003,-1279.8933,25.1291,94.3321,-1,-1,-1,-1,-1,-1);
}
else if(!strcmp(playername,"daddycar35",true)) {
SetSpawnInfo(playerid,69,61,2388.1003,-1279.8933,25.1291,94.3321,-1,-1,-1,-1,-1,-1);
}
else if(!strcmp(playername,"daddycar36",true)) {
SetSpawnInfo(playerid,69,61,2388.1003,-1279.8933,25.1291,94.3321,-1,-1,-1,-1,-1,-1);
}
else if(!strcmp(playername,"daddycar37",true)) {
SetSpawnInfo(playerid,69,61,2388.1003,-1279.8933,25.1291,94.3321,-1,-1,-1,-1,-1,-1);
}
else if(!strcmp(playername,"daddycar38",true)) {
SetSpawnInfo(playerid,69,61,2388.1003,-1279.8933,25.1291,94.3321,-1,-1,-1,-1,-1,-1);
}
else if(!strcmp(playername,"daddycar39",true)) {
SetSpawnInfo(playerid,69,61,2388.1003,-1279.8933,25.1291,94.3321,-1,-1,-1,-1,-1,-1);
}
else if(!strcmp(playername,"daddycar40",true)) {
SetSpawnInfo(playerid,69,61,2388.1003,-1279.8933,25.1291,94.3321,-1,-1,-1,-1,-1,-1);
}
else if(!strcmp(playername,"daddycar41",true)) {
SetSpawnInfo(playerid,69,61,2388.1003,-1279.8933,25.1291,94.3321,-1,-1,-1,-1,-1,-1);
}
else if(!strcmp(playername,"50",true)) {
SetSpawnInfo(playerid,69,61,2388.1003,-1279.8933,25.1291,94.3321,-1,-1,-1,-1,-1,-1);
}
else if(!strcmp(playername,"51",true)) {
SetSpawnInfo(playerid,69,61,2388.1003,-1279.8933,25.1291,94.3321,-1,-1,-1,-1,-1,-1);
}
else if(!strcmp(playername,"52",true)) {
SetSpawnInfo(playerid,69,61,2388.1003,-1279.8933,25.1291,94.3321,-1,-1,-1,-1,-1,-1);
}
else if(!strcmp(playername,"53",true)) {
SetSpawnInfo(playerid,69,61,2388.1003,-1279.8933,25.1291,94.3321,-1,-1,-1,-1,-1,-1);
}
return 0;
}
//-------------------------------------------------
stock SetVehicleTireStatus(vehicleid, tirestatus)
{
new panels, doors, lights, tires;
GetVehicleDamageStatus(vehicleid, panels, doors, lights, tires);
UpdateVehicleDamageStatus(vehicleid, panels, doors, lights, tirestatus);
}
//-------------------------------------------------
public OnPlayerSpawn(playerid)
{
if(!IsPlayerNPC(playerid)) return 1; // We only deal with NPC players in this script
new playername[64];
GetPlayerName(playerid,playername,64);
if(!strcmp(playername,"TrainDriverLV",true)) {
PutPlayerInVehicle(playerid,1,0);
SetPlayerColor(playerid,0xFFFFFFFF);
}
else if(!strcmp(playername,"TrainDriverSF",true)) {
PutPlayerInVehicle(playerid,5,0);
SetPlayerColor(playerid,0xFFFFFFFF);
}
else if(!strcmp(playername,"TrainDriverLS",true)) {
PutPlayerInVehicle(playerid,9,0);
SetPlayerColor(playerid,0xFFFFFFFF);
}
else if(!strcmp(playername,"PilotLV",true)) {
PutPlayerInVehicle(playerid,13,0);
SetPlayerColor(playerid,0xFFFFFFFF);
}
else if(!strcmp(playername,"PilotSF",true)) {
PutPlayerInVehicle(playerid,14,0);
SetPlayerColor(playerid,0xFFFFFFFF);
}
else if(!strcmp(playername,"PilotLS",true)) {
PutPlayerInVehicle(playerid,15,0);
SetPlayerColor(playerid,0xFFFFFFFF);
}
else if(!strcmp(playername,"DriverTest1",true)) {
PutPlayerInVehicle(playerid,876,0);
SetPlayerColor(playerid,0xFFFFFFFF);
}
else if(!strcmp(playername,"DriverTest3",true)) {
PutPlayerInVehicle(playerid,875,0);
SetPlayerColor(playerid,0xFFFFFFFF);
}
else if(!strcmp(playername,"DriverTest2",true)) {
//SetVehicleTireStatus(876,0xFF);
PutPlayerInVehicle(playerid,876,0);
SetPlayerColor(playerid,0xFFFFFFFF);
}
else if(!strcmp(playername,"daddycar0",true)) {
//SetVehicleTireStatus(400,0xFF);
PutPlayerInVehicle(playerid,400,0);
SetPlayerColor(playerid,0xFFFFFFFF);
}
else if(!strcmp(playername,"daddycar1",true)) {
//SetVehicleTireStatus(401,0xFF);
PutPlayerInVehicle(playerid,401,0);
SetPlayerColor(playerid,0xFFFFFFFF);
}
else if(!strcmp(playername,"daddycar2",true)) {
//SetVehicleTireStatus(402,0xFF);
PutPlayerInVehicle(playerid,402,0);
SetPlayerColor(playerid,0xFFFFFFFF);
}
else if(!strcmp(playername,"daddycar3",true)) {
//SetVehicleTireStatus(403,0xFF);
PutPlayerInVehicle(playerid,403,0);
SetPlayerColor(playerid,0xFFFFFFFF);
}
else if(!strcmp(playername,"daddycar4",true)) {
//SetVehicleTireStatus(404,0xFF);
PutPlayerInVehicle(playerid,404,0);
SetPlayerColor(playerid,0xFFFFFFFF);
}
else if(!strcmp(playername,"daddycar5",true)) {
//SetVehicleTireStatus(405,0xFF);
PutPlayerInVehicle(playerid,405,0);
SetPlayerColor(playerid,0xFFFFFFFF);
}
else if(!strcmp(playername,"daddycar6",true)) {
//SetVehicleTireStatus(406,0xFF);
PutPlayerInVehicle(playerid,406,0);
SetPlayerColor(playerid,0xFFFFFFFF);
}
else if(!strcmp(playername,"daddycar7",true)) {
//SetVehicleTireStatus(407,0xFF);
PutPlayerInVehicle(playerid,407,0);
SetPlayerColor(playerid,0xFFFFFFFF);
}
else if(!strcmp(playername,"daddycar8",true)) {
//SetVehicleTireStatus(408,0xFF);
PutPlayerInVehicle(playerid,408,0);
SetPlayerColor(playerid,0xFFFFFFFF);
}
else if(!strcmp(playername,"daddycar9",true)) {
//SetVehicleTireStatus(409,0xFF);
PutPlayerInVehicle(playerid,409,0);
SetPlayerColor(playerid,0xFFFFFFFF);
}
else if(!strcmp(playername,"daddycar10",true)) {
//SetVehicleTireStatus(410,0xFF);
PutPlayerInVehicle(playerid,410,0);
SetPlayerColor(playerid,0xFFFFFFFF);
}
else if(!strcmp(playername,"daddycar11",true)) {
//SetVehicleTireStatus(411,0xFF);
PutPlayerInVehicle(playerid,411,0);
SetPlayerColor(playerid,0xFFFFFFFF);
}
else if(!strcmp(playername,"daddycar12",true)) {
//SetVehicleTireStatus(412,0xFF);
PutPlayerInVehicle(playerid,412,0);
SetPlayerColor(playerid,0xFFFFFFFF);
}
else if(!strcmp(playername,"daddycar13",true)) {
//SetVehicleTireStatus(413,0xFF);
PutPlayerInVehicle(playerid,413,0);
SetPlayerColor(playerid,0xFFFFFFFF);
}
else if(!strcmp(playername,"daddycar14",true)) {
//SetVehicleTireStatus(414,0xFF);
PutPlayerInVehicle(playerid,414,0);
SetPlayerColor(playerid,0xFFFFFFFF);
}
else if(!strcmp(playername,"daddycar15",true)) {
//SetVehicleTireStatus(415,0xFF);
PutPlayerInVehicle(playerid,415,0);
SetPlayerColor(playerid,0xFFFFFFFF);
}
else if(!strcmp(playername,"daddycar16",true)) {
//SetVehicleTireStatus(416,0xFF);
PutPlayerInVehicle(playerid,416,0);
SetPlayerColor(playerid,0xFFFFFFFF);
}
else if(!strcmp(playername,"daddycar17",true)) {
//SetVehicleTireStatus(427,0xFF);
PutPlayerInVehicle(playerid,418,0);
SetPlayerColor(playerid,0xFFFFFFFF);
}
else if(!strcmp(playername,"daddycar18",true)) {
//SetVehicleTireStatus(418,0xFF);
PutPlayerInVehicle(playerid,419,0);
SetPlayerColor(playerid,0xFFFFFFFF);
}
else if(!strcmp(playername,"daddycar19",true)) {
//SetVehicleTireStatus(419,0xFF);
PutPlayerInVehicle(playerid,420,0);
SetPlayerColor(playerid,0xFFFFFFFF);
}
else if(!strcmp(playername,"daddycar20",true)) {
//SetVehicleTireStatus(420,0xFF);
PutPlayerInVehicle(playerid,421,0);
SetPlayerColor(playerid,0xFFFFFFFF);
}
else if(!strcmp(playername,"daddycar21",true)) {
//SetVehicleTireStatus(421,0xFF);
PutPlayerInVehicle(playerid,422,0);
SetPlayerColor(playerid,0xFFFFFFFF);
}
else if(!strcmp(playername,"daddycar22",true)) {
//SetVehicleTireStatus(422,0xFF);
PutPlayerInVehicle(playerid,423,0);
SetPlayerColor(playerid,0xFFFFFFFF);
}
else if(!strcmp(playername,"daddycar23",true)) {
//SetVehicleTireStatus(423,0xFF);
PutPlayerInVehicle(playerid,424,0);
SetPlayerColor(playerid,0xFFFFFFFF);
}
else if(!strcmp(playername,"daddycar24",true)) {
//SetVehicleTireStatus(424,0xFF);
PutPlayerInVehicle(playerid,426,0);
SetPlayerColor(playerid,0xFFFFFFFF);
}
else if(!strcmp(playername,"daddycar25",true)) {
//SetVehicleTireStatus(426,0xFF);
PutPlayerInVehicle(playerid,427,0);
SetPlayerColor(playerid,0xFFFFFFFF);
}
else if(!strcmp(playername,"daddycar26",true)) {
//SetVehicleTireStatus(426,0xFF);
PutPlayerInVehicle(playerid,428,0);
SetPlayerColor(playerid,0xFFFFFFFF);
}
else if(!strcmp(playername,"daddycar27",true)) {
//SetVehicleTireStatus(426,0xFF);
PutPlayerInVehicle(playerid,429,0);
SetPlayerColor(playerid,0xFFFFFFFF);
}
else if(!strcmp(playername,"daddycar28",true)) {
//SetVehicleTireStatus(426,0xFF);
PutPlayerInVehicle(playerid,431,0);
SetPlayerColor(playerid,0xFFFFFFFF);
}
else if(!strcmp(playername,"daddycar29",true)) {
//SetVehicleTireStatus(426,0xFF);
PutPlayerInVehicle(playerid,433,0);
SetPlayerColor(playerid,0xFFFFFFFF);
}
else if(!strcmp(playername,"daddycar30",true)) {
//SetVehicleTireStatus(426,0xFF);
PutPlayerInVehicle(playerid,434,0);
SetPlayerColor(playerid,0xFFFFFFFF);
}
else if(!strcmp(playername,"daddycar31",true)) {
//SetVehicleTireStatus(426,0xFF);
PutPlayerInVehicle(playerid,436,0);
SetPlayerColor(playerid,0xFFFFFFFF);
}
else if(!strcmp(playername,"daddycar32",true)) {
//SetVehicleTireStatus(426,0xFF);
PutPlayerInVehicle(playerid,437,0);
SetPlayerColor(playerid,0xFFFFFFFF);
}
else if(!strcmp(playername,"daddycar33",true)) {
//SetVehicleTireStatus(426,0xFF);
PutPlayerInVehicle(playerid,438,0);
SetPlayerColor(playerid,0xFFFFFFFF);
}
else if(!strcmp(playername,"daddycar34",true)) {
//SetVehicleTireStatus(426,0xFF);
PutPlayerInVehicle(playerid,439,0);
SetPlayerColor(playerid,0xFFFFFFFF);
}
else if(!strcmp(playername,"daddycar35",true)) {
//SetVehicleTireStatus(426,0xFF);
PutPlayerInVehicle(playerid,440,0);
SetPlayerColor(playerid,0xFFFFFFFF);
}
else if(!strcmp(playername,"daddycar36",true)) {
//SetVehicleTireStatus(426,0xFF);
PutPlayerInVehicle(playerid,441,0);
SetPlayerColor(playerid,0xFFFFFFFF);
}
else if(!strcmp(playername,"daddycar37",true)) {
//SetVehicleTireStatus(426,0xFF);
PutPlayerInVehicle(playerid,442,0);
SetPlayerColor(playerid,0xFFFFFFFF);
}
else if(!strcmp(playername,"daddycar38",true)) {
//SetVehicleTireStatus(426,0xFF);
PutPlayerInVehicle(playerid,443,0);
SetPlayerColor(playerid,0xFFFFFFFF);
}
else if(!strcmp(playername,"daddycar39",true)) {
//SetVehicleTireStatus(426,0xFF);
PutPlayerInVehicle(playerid,444,0);
SetPlayerColor(playerid,0xFFFFFFFF);
}
else if(!strcmp(playername,"daddycar40",true)) {
//SetVehicleTireStatus(426,0xFF);
PutPlayerInVehicle(playerid,445,0);
SetPlayerColor(playerid,0xFFFFFFFF);
}
else if(!strcmp(playername,"daddycar41",true)) {
//SetVehicleTireStatus(426,0xFF);
PutPlayerInVehicle(playerid,448,0);
SetPlayerColor(playerid,0xFFFFFFFF);
}
else if(!strcmp(playername,"Julius53",true)) {
//SetVehicleTireStatus(426,0xFF);
PutPlayerInVehicle(playerid,451,0);
SetPlayerColor(playerid,0xFFFFFFFF);
}
else if(!strcmp(playername,"Julius52",true)) {
//SetVehicleTireStatus(426,0xFF);
PutPlayerInVehicle(playerid,455,0);
SetPlayerColor(playerid,0xFFFFFFFF);
}
else if(!strcmp(playername,"Julius51",true)) {
//SetVehicleTireStatus(426,0xFF);
PutPlayerInVehicle(playerid,456,0);
SetPlayerColor(playerid,0xFFFFFFFF);
}
else if(!strcmp(playername,"Julius50",true)) {
//SetVehicleTireStatus(426,0xFF);
PutPlayerInVehicle(playerid,458,0);
SetPlayerColor(playerid,0xFFFFFFFF);
}
else if(!strcmp(playername,"Julius54",true)) {
//SetVehicleTireStatus(426,0xFF);
PutPlayerInVehicle(playerid,459,0);
SetPlayerColor(playerid,0xFFFFFFFF);
}
else if(!strcmp(playername,"Julius55",true)) {
//SetVehicleTireStatus(426,0xFF);
PutPlayerInVehicle(playerid,461,0);
SetPlayerColor(playerid,0xFFFFFFFF);
}
else if(!strcmp(playername,"Julius56",true)) {
//SetVehicleTireStatus(426,0xFF);
PutPlayerInVehicle(playerid,462,0);
SetPlayerColor(playerid,0xFFFFFFFF);
}
else if(!strcmp(playername,"Julius57",true)) {
//SetVehicleTireStatus(426,0xFF);
PutPlayerInVehicle(playerid,466,0);
SetPlayerColor(playerid,0xFFFFFFFF);
}
else if(!strcmp(playername,"Julius58",true)) {
//SetVehicleTireStatus(426,0xFF);
PutPlayerInVehicle(playerid,463,0);
SetPlayerColor(playerid,0xFFFFFFFF);
}
else if(!strcmp(playername,"Julius59",true)) {
//SetVehicleTireStatus(426,0xFF);
PutPlayerInVehicle(playerid,467,0);
SetPlayerColor(playerid,0xFFFFFFFF);
}
else if(!strcmp(playername,"Julius60",true)) {
//SetVehicleTireStatus(426,0xFF);
PutPlayerInVehicle(playerid,468,0);
SetPlayerColor(playerid,0xFFFFFFFF);
}
else if(!strcmp(playername,"Julius61",true)) {
//SetVehicleTireStatus(426,0xFF);
PutPlayerInVehicle(playerid,470,0);
SetPlayerColor(playerid,0xFFFFFFFF);
}
else if(!strcmp(playername,"Julius62",true)) {
//SetVehicleTireStatus(426,0xFF);
PutPlayerInVehicle(playerid,471,0);
SetPlayerColor(playerid,0xFFFFFFFF);
}
else if(!strcmp(playername,"Julius63",true)) {
//SetVehicleTireStatus(426,0xFF);
PutPlayerInVehicle(playerid,474,0);
SetPlayerColor(playerid,0xFFFFFFFF);
}
else if(!strcmp(playername,"Julius64",true)) {
//SetVehicleTireStatus(426,0xFF);
PutPlayerInVehicle(playerid,475,0);
SetPlayerColor(playerid,0xFFFFFFFF);
}
return 1;
}
//-------------------------------------------------
// EOF
I've bolded the lines and not all daddycars connects, it should start at 0 but it starts at 12