if(!strcmp(cmdtext, "/mf", true, 3))
if(dini_Int(file, "Profissao") == MotoqueiroFantasma || dini_Int(file, "aAdmin") == 1)
{
if(GetPlayerVehicleID(playerid) == 463)
{
fogo = CreateObject(18688, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
AttachObjectToPlayer(fogo, playerid, 0.0, 0.0, -1.2, 0.0, 0.0, 0);
SendClientMessage(playerid, -1, "Vocк Esta Em Modo (MF)");
SetPlayerSkin(playerid, 181);
}
return 1;
}
if(!strcmp(cmdtext, "/dmf", true, 3))
if(dini_Int(file, "Profissao") == MotoqueiroFantasma || dini_Int(file, "aAdmin") == 1)
{
if(GetPlayerVehicleID(playerid) == 463)
{
DestroyObject(fogo);
RemovePlayerAttachedObject(playerid, fogo);
SetPlayerSkin(playerid, 181);
SendClientMessage(playerid, -1, "Vocк Voltou ao Normal");
}
return 1;
}
C:\Users\Pedro\Desktop\BVP\gamemodes\BVP.pwn(15554) : warning 206: redundant test: constant expression is non-zero
C:\Users\Pedro\Desktop\BVP\gamemodes\BVP.pwn(15554) : error 029: invalid expression, assumed zero
C:\Users\Pedro\Desktop\BVP\gamemodes\BVP.pwn(15554 -- 15555) : warning 215: expression has no effect
C:\Users\Pedro\Desktop\BVP\gamemodes\BVP.pwn(15555) : error 001: expected token: ";", but found "if"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.
if(cmdtext, "/mf", true, 3))
if(dini_Int(file, "Profissao") == MotoqueiroFantasma || dini_Int(file, "aAdmin") == 1)
{
if(GetPlayerVehicleID(playerid) == 463)
{
fogo = CreateObject(18688, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
AttachObjectToPlayer(fogo, playerid, 0.0, 0.0, -1.2, 0.0, 0.0, 0);
SendClientMessage(playerid, -1, "Vocк Esta Em Modo (MF)");
SetPlayerSkin(playerid, 181);
}
return 1;
}
if(GetPlayerVehicleID(playerid) == 463)
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == 463)
if(cmdtext, "/mf", true, 3))
if(strcmp(cmdtext, "/mf", true, 3))
if(!strcmp(cmdtext, "/dmf", true, 3))
if(strcmp(cmdtext, "/dmf", true, 3))
PHP код:
PHP код:
|