02.11.2011, 18:55
Boa tarde galera, estou com um problema aki. Estou editando a GM LAC e estou tentando criar um comando para que um ADMIN possa abastecer um veiculo (OBS: Nгo й abastecer por ID, й o veiculo que o ADM estiver dentro), mas ja tentei varias coisas e toda vez da erro, nгo sei mais oq fazer
Caso algum de vocкs conseguirem me ajudar eu fico muito grato
Este й os erros que estб dando:
E esse й o codigo que eu criei:
Caso algum de vocкs conseguirem me ajudar eu fico muito grato
Este й os erros que estб dando:
Код:
C:\Users\Marcelo\Documents\GameMode\Brasil Play RolePlay\gamemodes\BPR.pwn(2745) : error 017: undefined symbol "GivePlayerMoneyEx" C:\Users\Marcelo\Documents\GameMode\Brasil Play RolePlay\gamemodes\BPR.pwn(2774) : error 017: undefined symbol "GivePlayerMoneyEx" C:\Users\Marcelo\Documents\GameMode\Brasil Play RolePlay\gamemodes\BPR.pwn(2958) : error 017: undefined symbol "pNome" C:\Users\Marcelo\Documents\GameMode\Brasil Play RolePlay\gamemodes\BPR.pwn(2966) : error 017: undefined symbol "pNome" C:\Users\Marcelo\Documents\GameMode\Brasil Play RolePlay\gamemodes\BPR.pwn(3244) : error 004: function "PlayerToPoint" is not implemented C:\Users\Marcelo\Documents\GameMode\Brasil Play RolePlay\gamemodes\BPR.pwn(3248) : error 004: function "PlayerToPoint" is not implemented C:\Users\Marcelo\Documents\GameMode\Brasil Play RolePlay\gamemodes\BPR.pwn(3252) : error 004: function "PlayerToPoint" is not implemented C:\Users\Marcelo\Documents\GameMode\Brasil Play RolePlay\gamemodes\BPR.pwn(3256) : error 004: function "PlayerToPoint" is not implemented C:\Users\Marcelo\Documents\GameMode\Brasil Play RolePlay\gamemodes\BPR.pwn(3260) : error 004: function "PlayerToPoint" is not implemented C:\Users\Marcelo\Documents\GameMode\Brasil Play RolePlay\gamemodes\BPR.pwn(3264) : error 004: function "PlayerToPoint" is not implemented C:\Users\Marcelo\Documents\GameMode\Brasil Play RolePlay\gamemodes\BPR.pwn(3268) : error 004: function "PlayerToPoint" is not implemented C:\Users\Marcelo\Documents\GameMode\Brasil Play RolePlay\gamemodes\BPR.pwn(3272) : error 004: function "PlayerToPoint" is not implemented C:\Users\Marcelo\Documents\GameMode\Brasil Play RolePlay\gamemodes\BPR.pwn(3277) : error 004: function "PlayerToPoint" is not implemented C:\Users\Marcelo\Documents\GameMode\Brasil Play RolePlay\gamemodes\BPR.pwn(3281) : error 004: function "PlayerToPoint" is not implemented C:\Users\Marcelo\Documents\GameMode\Brasil Play RolePlay\gamemodes\BPR.pwn(3285) : error 004: function "PlayerToPoint" is not implemented C:\Users\Marcelo\Documents\GameMode\Brasil Play RolePlay\gamemodes\BPR.pwn(3292) : error 004: function "PlayerToPoint" is not implemented C:\Users\Marcelo\Documents\GameMode\Brasil Play RolePlay\gamemodes\BPR.pwn(3296) : error 004: function "PlayerToPoint" is not implemented C:\Users\Marcelo\Documents\GameMode\Brasil Play RolePlay\gamemodes\BPR.pwn(3301) : error 004: function "PlayerToPoint" is not implemented C:\Users\Marcelo\Documents\GameMode\Brasil Play RolePlay\gamemodes\BPR.pwn(3305) : error 004: function "PlayerToPoint" is not implemented C:\Users\Marcelo\Documents\GameMode\Brasil Play RolePlay\gamemodes\BPR.pwn(3309) : error 004: function "PlayerToPoint" is not implemented C:\Users\Marcelo\Documents\GameMode\Brasil Play RolePlay\gamemodes\BPR.pwn(3314) : error 004: function "PlayerToPoint" is not implemented C:\Users\Marcelo\Documents\GameMode\Brasil Play RolePlay\gamemodes\BPR.pwn(3319) : error 004: function "PlayerToPoint" is not implemented C:\Users\Marcelo\Documents\GameMode\Brasil Play RolePlay\gamemodes\BPR.pwn(3331) : error 004: function "PlayerToPoint" is not implemented C:\Users\Marcelo\Documents\GameMode\Brasil Play RolePlay\gamemodes\BPR.pwn(3335) : error 004: function "PlayerToPoint" is not implemented C:\Users\Marcelo\Documents\GameMode\Brasil Play RolePlay\gamemodes\BPR.pwn(3339) : error 004: function "PlayerToPoint" is not implemented C:\Users\Marcelo\Documents\GameMode\Brasil Play RolePlay\gamemodes\BPR.pwn(3343) : error 004: function "PlayerToPoint" is not implemented Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 26 Errors.
Код:
if(strcmp(cmd, "/abastecerid", true) == 0) { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pAdmin] < 4) { SendClientMessage(playerid, COLOR_GRAD1, " Voce nao tem permissao para usar esse comando!"); return 1; } if(PlayerInfo[playerid][pTrampo] < 1) { SendClientMessage(playerid, COLOR_GRAD1, " Vocк nгo esta trabalhando, use /profadmin para trabalhar!"); { if(IsPlayerInAnyVehicle(playerid)) { GameTextForPlayer(playerid,"~w~~n~~n~~n~~n~~n~~n~~n~~n~~n~Re-Abastecendo o Veiculo, Espere um Momento",2000,3); SetTimer("Fillup",RefuelWait,0); Refueling[playerid] = 1; } } return 1; }