24.06.2011, 19:06
PHP код:
if(!strcmp(cmdtext, "/incendio", true)) // FBI/PSP
{
new Float:Pos[3];
GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]);
for(new i = 0; i < MAX_PLAYERS; i++)
SendClientMessage(playerid, COLOR_BLUE, "Vocк avisou todos os bombeiros em serviзo. Obrigado.");
{
if(PlayerInfo[playerid][pJob] == 21) { SetPlayerCheckpoint(Pos[0], Pos[1], Pos[2]); }
SendClientMessage(playerid, COLOR_BLUE, "Incкndio, vб atй гo checkpoit.");
}
return 0;
}
return 0;
}
Quote:
C:\Users\Ricardo Moreira\Desktop\RedContry\RC-RP\gamemodes\RC-RP.pwn(17441) : warning 213: tag mismatch C:\Users\Ricardo Moreira\Desktop\RedContry\RC-RP\gamemodes\RC-RP.pwn(17441) : warning 202: number of arguments does not match definition C:\Users\Ricardo Moreira\Desktop\RedContry\RC-RP\gamemodes\RC-RP.pwn(17441) : warning 202: number of arguments does not match definition C:\Users\Ricardo Moreira\Desktop\RedContry\RC-RP\gamemodes\RC-RP.pwn(17449) : warning 225: unreachable code |
PHP код:
if(PlayerInfo[playerid][pJob] == 21) { SetPlayerCheckpoint(Pos[0], Pos[1], Pos[2]); }
PHP код:
if(!strcmp(cmdtext, "/abrirportao", true)) // FBI/PSP