24.06.2011, 19:27
Isto deve resolver o seu problema
.
Apenas retifiquei algumas coisas no cуdigo do Shadoww
Espero ter ajudado
.

Apenas retifiquei algumas coisas no cуdigo do Shadoww

pawn Код:
//Coloque na sua public OnPlayerCommandText:
if(!strcmp(cmdtext, "/incendio", true)) // FBI/PSP
{
new Float:Pos[3];
GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]);
SendClientMessage(playerid, COLOR_BLUE, "Vocк avisou todos os bombeiros em serviзo. Obrigado.");
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(PlayerInfo[i][pJob] == 21)
{
SetPlayerCheckpoint(i, Pos[0], Pos[1], Pos[2], 8.0);
SendClientMessage(i, COLOR_BLUE, "Incкndio, vб atй гo checkpoit.");
}
}
return true;
}
Espero ter ajudado
