O QUE ESTA ERRADO AQUI ?
#4

Quote:
Originally Posted by Alisson Silva Alves
Посмотреть сообщение
Ola eu criei o comando de /kitsocio aqui

if(strcmp(cmd, "/kitsocio", true) == 0) {
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid,M4,560);
GivePlayerWeapon(playerid,MP5,560);
GivePlayerWeapon(playerid,SHOTGUN,120);
GivePlayerWeapon(playerid,BAZUKA,3);
GivePlayerWeapon(playerid,GRANADA,5);
GivePlayerWeapon(playerid,EAGLE,300);
GivePlayerWeapon(playerid,FACA,1);
GivePlayerWeapon(playerid,PARAQUEDAS,1);
SetPlayerHealth(playerid, 100);
SetPlayerArmour(playerid, 100);
return 1;
}


Mais eu queria criar o comando de /kitadmin com as mesma armas

if(strcmp(cmd, "/kitadmin", true) == 0) {
ResetPlayerWeapons(playerid);
GivePlayerWeapon(playerid,M4,560);
GivePlayerWeapon(playerid,MP5,560);
GivePlayerWeapon(playerid,SHOTGUN,120);
GivePlayerWeapon(playerid,BAZUKA,3);
GivePlayerWeapon(playerid,GRANADA,5);
GivePlayerWeapon(playerid,EAGLE,300);
GivePlayerWeapon(playerid,FACA,1);
GivePlayerWeapon(playerid,PARAQUEDAS,1);
SetPlayerHealth(playerid, 100);
SetPlayerArmour(playerid, 100);
return 1;
}



Mais quando eu vo Compile da 1 error


C:\Documents and Settings\Administrador\Desktop\BKG.pwn(12 : warning 202: number of arguments does not match definition
C:\Documents and Settings\Administrador\Desktop\BKG.pwn(149) : error 017: undefined symbol "trcmp"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.



Posta as linhas128, e a 149..

os erros persistentes sгo os mesmos?
Reply


Messages In This Thread
O QUE ESTA ERRADO AQUI ? - by Alisson Silva Alves - 25.10.2012, 14:25
Re: O QUE ESTA ERRADO AQUI ? - by [JD]BlackFire - 25.10.2012, 14:26
Re: O QUE ESTA ERRADO AQUI ? - by Alisson Silva Alves - 25.10.2012, 14:56
Re: O QUE ESTA ERRADO AQUI ? - by steeldark - 25.10.2012, 15:04
Re: O QUE ESTA ERRADO AQUI ? - by mau.tito - 25.10.2012, 15:13
Re: O QUE ESTA ERRADO AQUI ? - by Alisson Silva Alves - 25.10.2012, 15:16
Re: O QUE ESTA ERRADO AQUI ? - by mau.tito - 25.10.2012, 15:19
Re: O QUE ESTA ERRADO AQUI ? - by ShutDown_ - 25.10.2012, 17:27
Re: O QUE ESTA ERRADO AQUI ? - by netogba - 25.10.2012, 18:24

Forum Jump:


Users browsing this thread: 1 Guest(s)