Errors.
#1

Errors
Код:
C:\Users\Andreew\Desktop\samp03asvr_R4_win32\gamemodes\v1.2a.pwn(22589) : error 014: invalid statement; not in switch
C:\Users\Andreew\Desktop\samp03asvr_R4_win32\gamemodes\v1.2a.pwn(22589) : error 001: expected token: ";", but found ":"
C:\Users\Andreew\Desktop\samp03asvr_R4_win32\gamemodes\v1.2a.pwn(22589) : error 029: invalid expression, assumed zero
C:\Users\Andreew\Desktop\samp03asvr_R4_win32\gamemodes\v1.2a.pwn(22589) : fatal error 107: too many error messages on one line
Код:
case 0: //Taxi Driver
{
GameTextForPlayer(playerid, "You are now a Taxi Driver!~N~Type ~R~/job ~W~for more information", 5000, 3);
PlayerInfo[playerid][pJob] = 1;
TogglePlayerControllable(playerid, 1);
DisablePlayerCheckpoint(playerid);
gPlayerCheckpointStatus[playerid] = CHECKPOINT_NONE;
return 1;
}
case 1: //Grave Digger
{
GameTextForPlayer(playerid, "You are now a Bus Driver!~N~Type ~R~/job ~W~for more information", 5000, 3);
PlayerInfo[playerid][pJob] = 2;
TogglePlayerControllable(playerid, 1);
DisablePlayerCheckpoint(playerid);
gPlayerCheckpointStatus[playerid] = CHECKPOINT_NONE;
for(new i=0;i<MAX_VEHICLES;i++)
{
case 2: //Truck Driver
{
GameTextForPlayer(playerid, "You are now a Truck Driver!~N~Type ~R~/job ~W~for more information", 5000, 3);
PlayerInfo[playerid][pJob] = 3;
TogglePlayerControllable(playerid, 1);
DisablePlayerCheckpoint(playerid);
gPlayerCheckpointStatus[playerid] = CHECKPOINT_NONE;
for(new i=0;i<MAX_VEHICLES;i++)
{
if(IsATR(i))
{
SetVehicleParamsForPlayer(i,playerid,0,0);
}
}
return 1;
}
case 3: //Grave Digger
{
GameTextForPlayer(playerid, "You are now a Grave Digger!~N~Type ~R~/job ~W~for more information", 5000, 3);
PlayerInfo[playerid][pJob] = 4;
TogglePlayerControllable(playerid, 1);
DisablePlayerCheckpoint(playerid);
gPlayerCheckpointStatus[playerid] = CHECKPOINT_NONE;
for(new i=0;i<MAX_VEHICLES;i++)
{
if(IsADC(i))
{
SetVehicleParamsForPlayer(i,playerid,0,0);
}
}
}
case 4: //Pizza Boy
{
GameTextForPlayer(playerid, "You are now a Pizza Boy!~N~Type ~R~/job ~W~for more information", 5000, 3);
PlayerInfo[playerid][pJob] = 5;
TogglePlayerControllable(playerid, 1);
DisablePlayerCheckpoint(playerid);
gPlayerCheckpointStatus[playerid] = CHECKPOINT_NONE;
for(new i=0;i<MAX_VEHICLES;i++)
{
if(IsAPizza(i))
{
SetVehicleParamsForPlayer(i,playerid,0,0);
}
}
}
}
}
line 22589
Код:
Case 2:






Any Ideas.
Reply


Messages In This Thread
Errors. - by iLcke - 15.03.2010, 04:24
Re: Errors. - by Deat_Itself - 15.03.2010, 05:29

Forum Jump:


Users browsing this thread: 2 Guest(s)