16.10.2012, 16:49
Oi. Preparei um cуdigo Para verificar se o player tava num local. dai deu erro.
No Topo do GM :
No Comando :
Erros :
Linhas : ( Todos os Erros na mesma Linha )
Help Me :P
No Topo do GM :
pawn Код:
#define PlayerToPoint IsPlayerRangeOfPoint;
pawn Код:
CMD:weagle(playerid,params[])
{
if(!PlayerToPoint(25.0,playerid,287.2928,-109.7757,1001.5156)) return SendClientMessage(playerid, -1, "[INFO] Vocк Nгo Estб Numa Loja De Armas.");
if(GetPlayerMoney(playerid) < 250) return SendClientMessage(playerid,0xFF230AFF,"Nгo Tem Grana Jovem !");
SendClientMessage(playerid,0xFAAC02FF,"[INFO] Vocк Comprou uma Ealge Por R$: 250");
GivePlayerWeapon(playerid,24,99999);
GivePlayerMoney(playerid,-250);
return 1;
}
pawn Код:
C:\Users\Lucas\Desktop\Servidor\gamemodes\RP.pwn(89) : error 017: undefined symbol "IsPlayerRangeOfPoint"
C:\Users\Lucas\Desktop\Servidor\gamemodes\RP.pwn(89) : error 001: expected token: ")", but found ";"
C:\Users\Lucas\Desktop\Servidor\gamemodes\RP.pwn(89) : error 036: empty statement
C:\Users\Lucas\Desktop\Servidor\gamemodes\RP.pwn(89) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
pawn Код:
if(!PlayerToPoint(25.0,playerid,287.2928,-109.7757,1001.5156)) return SendClientMessage(playerid, -1, "[INFO] Vocк Nгo Estб Numa Loja De Armas.");
Help Me :P