Erros apos colocar comando -
PedroAuditore - 09.01.2014
O gm compila normalmente mas apуs colocar o comando:
pawn Код:
if(strcmp(cmdtext, "/kitvip", true) == 0)
{
if(PlayerInfo[playerid][pDonateRank] < 1) return SendClientMessage(playerid, -1, "Vocк nгo й Vip");
if(PlayerInfo[playerid][pDonateRank] >= 1)
if(IsAtGasStation(playerid))
{
SendClientMessage(playerid, -1, "Vocк pegou seu Kit Vip");
SetPlayerHealth(playerid, 100.0);
SetPlayerArmour(playerid, 100.0);
GivePlayerWeapon(playerid, 4, 1);
GivePlayerWeapon(playerid, 24, 500);
GivePlayerWeapon(playerid, 25, 500);
GivePlayerWeapon(playerid, 29, 500);
GivePlayerWeapon(playerid, 31, 500);
GivePlayerWeapon(playerid, 34, 500);
return 1;
}
Ele da vбrios erros em linhas que nгo tem relaзгo com o comando.
Erros:
Function "FixHour" is not implemented (2 vezes seguidas nas linhas 3098 e 466
Function "SafeGivePlayerWeapon" is not implemented (Vбrias vezes)
Function "PlayerToPoint" is not implemented (vбrias vezes)
Undefined symbol "GetName" (3 vezes)
Function "ProxDetector" is not implemented (vбrias vezes)
Re: Erros apos colocar comando -
feliphemort - 09.01.2014
Acho que tб faltando chaves ai
Re: Erros apos colocar comando -
yNexus - 09.01.2014
Testa ai
PHP код:
if(strcmp(cmdtext, "/kitvip", true) == 0)
{
if(PlayerInfo[playerid][pDonateRank] < 1) return SendClientMessage(playerid, -1, "Vocк nгo й Vip");
if(PlayerInfo[playerid][pDonateRank] >= 1)
if(IsAtGasStation(playerid))
{
SendClientMessage(playerid, -1, "Vocк pegou seu Kit Vip");
SetPlayerHealth(playerid, 100.0);
SetPlayerArmour(playerid, 100.0);
GivePlayerWeapon(playerid, 4, 1);
GivePlayerWeapon(playerid, 24, 500);
GivePlayerWeapon(playerid, 25, 500);
GivePlayerWeapon(playerid, 29, 500);
GivePlayerWeapon(playerid, 31, 500);
GivePlayerWeapon(playerid, 34, 500);
}
return 1;
}
Re: Erros apos colocar comando -
PedroAuditore - 09.01.2014
Quote:
Originally Posted by yNexus
Testa ai
PHP код:
if(strcmp(cmdtext, "/kitvip", true) == 0)
{
if(PlayerInfo[playerid][pDonateRank] < 1) return SendClientMessage(playerid, -1, "Vocк nгo й Vip");
if(PlayerInfo[playerid][pDonateRank] >= 1)
if(IsAtGasStation(playerid))
{
SendClientMessage(playerid, -1, "Vocк pegou seu Kit Vip");
SetPlayerHealth(playerid, 100.0);
SetPlayerArmour(playerid, 100.0);
GivePlayerWeapon(playerid, 4, 1);
GivePlayerWeapon(playerid, 24, 500);
GivePlayerWeapon(playerid, 25, 500);
GivePlayerWeapon(playerid, 29, 500);
GivePlayerWeapon(playerid, 31, 500);
GivePlayerWeapon(playerid, 34, 500);
}
return 1;
}
|
Deu certo obrigado
Re: Erros apos colocar comando -
yNexus - 09.01.2014
Quote:
Originally Posted by PedroAuditore
Deu certo obrigado
|
++