if (strcmp("/route", cmdtext, true, 10) == 0)
{
if(IsPlayerInVehicle(playerid, 537))
ShowPlayerDialog(playerid,1,DIALOG_STYLE_LIST,"Routes","Los Santos to San Fierro to Los Santos \nLos Santos to Las Venturas1 to Las Venturas2 to Los Santos \nLos Santos to San Fierro to Las Venturas2 \nLos Santos to Los Santos all stops","OK","Cancel");
return 1;
}
IsPlayerInVehicle(playerid, vehicleid);
if(GetVehicleModel(vehicleid) == 537 && IsPlayerInAnyVehicle(playerid))
if (strcmp(cmdtext, "/route", true) == 0)
{
if IsPlayerInVehicle(playerid, vehicleid);
if(GetVehicleModel(vehicleid) == 537 && IsPlayerInAnyVehicle(playerid))
{
ShowPlayerDialog(playerid,9999,DIALOG_STYLE_LIST,"Routes","Los Santos to San Fierro to Los Santos \nLos Santos to Las Venturas1 to Las Venturas2 to Los Santos \nLos Santos to San Fierro to Las Venturas2 \nLos Santos to Los Santos all stops","OK","Cancel");
return 1;
}
undefined symbol "vehicleid" expected token: "*then", but found ";" empty statement
|
Alguйm poderia me ajudar no comando /r ? (rбdio para caminhoneiros em comboio) Game Mode PPC_Trucking!
Obrigado! px01.carbonhost.com.br:7781 |
if (strcmp(cmdtext, "/route", true) == 0)
{
if(GetVehicleModel(vehicleid) == 537 && IsPlayerInAnyVehicle(playerid))
{
ShowPlayerDialog(playerid,9999,DIALOG_STYLE_LIST,"Routes","Los Santos to San Fierro to Los Santos \nLos Santos to Las Venturas1 to Las Venturas2 to Los Santos \nLos Santos to San Fierro to Las Venturas2 \nLos Santos to Los Santos all stops","OK","Cancel");
return 1;
}
if (strcmp(cmdtext, "/route", true) == 0)
{
if(IsPlayerInVehicle(playerid))
{
if(GetVehicleModel(vehicleid) == 537)
{
ShowPlayerDialog(playerid,9999,DIALOG_STYLE_LIST,"Routes","Los Santos to San Fierro to Los Santos \nLos Santos to Las Venturas1 to Las Venturas2 to Los Santos \nLos Santos to San Fierro to Las Venturas2 \nLos Santos to Los Santos all stops","OK","Cancel");
return 1;
}
}
}
|
pawn Код:
|
error 017: undefined symbol "vehicleid"