21.02.2018, 15:42
Botei code no meu gm tudo certinho compilei й deu esses erros lembrando o gm й totalmente do 0 nгo sei como resolve sa parada
Linha do erro
Agora o code
PHP код:
C:\Users\Lan\Desktop\Vida De Bandido\gamemodes\Prуpria.pwn(294) : error 017: undefined symbol "Player"
C:\Users\Lan\Desktop\Vida De Bandido\gamemodes\Prуpria.pwn(294) : warning 215: expression has no effect
C:\Users\Lan\Desktop\Vida De Bandido\gamemodes\Prуpria.pwn(294) : error 001: expected token: ";", but found "]"
C:\Users\Lan\Desktop\Vida De Bandido\gamemodes\Prуpria.pwn(294) : error 029: invalid expression, assumed zero
C:\Users\Lan\Desktop\Vida De Bandido\gamemodes\Prуpria.pwn(294) : fatal error 107: too many error messages on one line
PHP код:
if(Player[playerid][Admin] < 1 && Player[playerid][Reporter] <= 1 && Player[playerid][Helper] <= 2)
PHP код:
CMD:cone(playerid, params[])
{
if(Player[playerid][Admin] < 1 || Player[playerid][Reporter] <= 1 || Player[playerid][Helper] <= 2)
return SCM(playerid, COLOR_ORANGE, MSG_CMD_WITHOUT_PERMISSION);
if(sscanf(params, "s[10]", params))
return SCM(playerid, COLOR_GREY, ""TAG_USOCORRETO" /cone [criar/remover]");
if(!strcmp(params, "criar"))
{
if(Cone[playerid])
return SCM(playerid, COLOR_ORANGE, ""TAG_ERRO" Vocк jб tem um cone criado!");
new Float:posx,
Float:posy,
Float:posz,
Float:angle;
GetPlayerFacingAngle(playerid, angle);
GetPlayerPos(playerid, posx, posy, posz);
SetPlayerPos(playerid, posx, posy+1, posz+5);
Cone[playerid] = CreateObject(1237, posx, posy, posz-1.0, 0, 0, angle, GetPlayerVirtualWorld(playerid));
}
else if(!strcmp(params, "remover"))
{
if(!Cone[playerid])
return SCM(playerid, COLOR_ORANGE, ""TAG_ERRO" Vocк nгo tem nenhum Cone criado.");
DestroyObject(Cone[playerid]);
Cone[playerid] = 0;
}
else
return SCM(playerid, COLOR_GREY, ""TAG_USOCORRETO" /cone [criar/remover]");
return 1;
}