G:\BOG\Servidor\filterscripts\cinto.pwn(29) : warning 217: loose indentation
G:\BOG\Servidor\filterscripts\cinto.pwn(31) : warning 217: loose indentation
G:\BOG\Servidor\filterscripts\cinto.pwn(35) : warning 217: loose indentation
G:\BOG\Servidor\filterscripts\cinto.pwn(37) : warning 209: function "OnPlayerCommandText" should return a value
G:\BOG\Servidor\filterscripts\cinto.pwn(81) : warning 203: symbol is never used: "string"
//***************************************COMANDOS*******************************
public OnPlayerCommandText(playerid, cmdtext[])
{
if(!strcmp(cmdtext, "/cinto", true))
{
CSEG[playerid] = 1;
SendClientMessage(playerid,AZUL,"{FFFF00}[Dica] {FFFFFF}Cinto de Seguranзa Colocado! [/tirarcinto]");
return 1;
}
if(!strcmp(cmdtext, "/tirarcinto", true))
{
CSEG[playerid] = 0;
SendClientMessage(playerid,VERMELHO,"{FFFF00}[Dica] {FFFFFF}Vocк tirou o Cinto de Seguranзa.");
return 1;
}
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if(!strcmp(cmdtext, "/cinto", true))
{
CSEG[playerid] = 1;
SendClientMessage(playerid,AZUL,"{FFFF00}[Dica] {FFFFFF}Cinto de Seguranзa Colocado! [/tirarcinto]");
return 1;
}
if(!strcmp(cmdtext, "/tirarcinto", true))
{
CSEG[playerid] = 0;
SendClientMessage(playerid,VERMELHO,"{FFFF00}[Dica] {FFFFFF}Vocк tirou o Cinto de Seguranзa.");
return 1;
}
return 0;
}
new string
public OnPlayerCommandText(playerid, cmdtext[])
{
if(!strcmp(cmdtext, "/cinto", true))
{
CSEG[playerid] = 1;
SendClientMessage(playerid,AZUL,"{FFFF00}[Dica] {FFFFFF}Cinto de Seguranзa Colocado![/tirarcinto]");
return 1;
}
if(!strcmp(cmdtext, "/tirarcinto", true))
{
CSEG[playerid] = 0;
SendClientMessage(playerid,VERMELHO,"{FFFF00}[Dica] {FFFFFF}Vocк tirou o Cinto de Seguranзa.");
return 1;
}
return 0;
}
pawn Код:
|