if(strcmp(cmd, "/SkinORG", true) == 0) {
{
if(PlayerInfo[playerid][pURSS] == 1)
SendClientMessage(playerid, Roxo,"Vocк pegou a skin da sua Organizaзao");
SetPlayerSkin(plid,209);
dini_IntSet(file2, "SkinORG", 209);
return 1;
}
C:\Users\Helder.Aguiar\Documents\SAMP03\gamemodes\NRV.pwn(2732) : error 017: undefined symbol "GivePlayerGrana" C:\Users\Helder.Aguiar\Documents\SAMP03\gamemodes\NRV.pwn(2846) : error 017: undefined symbol "PlayerName" C:\Users\Helder.Aguiar\Documents\SAMP03\gamemodes\NRV.pwn(2922) : error 017: undefined symbol "PlayerName" C:\Users\Helder.Aguiar\Documents\SAMP03\gamemodes\NRV.pwn(2960) : error 017: undefined symbol "PlayerName" C:\Users\Helder.Aguiar\Documents\SAMP03\gamemodes\NRV.pwn(2979) : error 017: undefined symbol "PlayerName" C:\Users\Helder.Aguiar\Documents\SAMP03\gamemodes\NRV.pwn(2981) : error 017: undefined symbol "PlayerName" C:\Users\Helder.Aguiar\Documents\SAMP03\gamemodes\NRV.pwn(2986) : error 017: undefined symbol "PlayerName" C:\Users\Helder.Aguiar\Documents\SAMP03\gamemodes\NRV.pwn(2991) : error 017: undefined symbol "PlayerName" C:\Users\Helder.Aguiar\Documents\SAMP03\gamemodes\NRV.pwn(2996) : error 017: undefined symbol "PlayerName" C:\Users\Helder.Aguiar\Documents\SAMP03\gamemodes\NRV.pwn(3001) : error 017: undefined symbol "PlayerName" C:\Users\Helder.Aguiar\Documents\SAMP03\gamemodes\NRV.pwn(3150) : error 004: function "escolhe" is not implemented C:\Users\Helder.Aguiar\Documents\SAMP03\gamemodes\NRV.pwn(3162) : error 004: function "laser" is not implemented C:\Users\Helder.Aguiar\Documents\SAMP03\gamemodes\NRV.pwn(3163) : error 017: undefined symbol "PlayerName" C:\Users\Helder.Aguiar\Documents\SAMP03\gamemodes\NRV.pwn(3166) : error 004: function "PlayerToPoint" is not implemented C:\Users\Helder.Aguiar\Documents\SAMP03\gamemodes\NRV.pwn(3186) : error 017: undefined symbol "PlayerName" C:\Users\Helder.Aguiar\Documents\SAMP03\gamemodes\NRV.pwn(3227) : error 004: function "cadeia" is not implemented C:\Users\Helder.Aguiar\Documents\SAMP03\gamemodes\NRV.pwn(3228) : error 004: function "cadeia10min" is not implemented C:\Users\Helder.Aguiar\Documents\SAMP03\gamemodes\NRV.pwn(3278) : error 017: undefined symbol "PlayerName" C:\Users\Helder.Aguiar\Documents\SAMP03\gamemodes\NRV.pwn(3290) : error 017: undefined symbol "PlayerName" C:\Users\Helder.Aguiar\Documents\SAMP03\gamemodes\NRV.pwn(3412) : error 004: function "PlayerToPoint" is not implemented C:\Users\Helder.Aguiar\Documents\SAMP03\gamemodes\NRV.pwn(3647) : error 017: undefined symbol "strtok" C:\Users\Helder.Aguiar\Documents\SAMP03\gamemodes\NRV.pwn(3648) : error 017: undefined symbol "strtok" C:\Users\Helder.Aguiar\Documents\SAMP03\gamemodes\NRV.pwn(3649) : error 017: undefined symbol "strtok" C:\Users\Helder.Aguiar\Documents\SAMP03\gamemodes\NRV.pwn(3650) : error 017: undefined symbol "strtok" C:\Users\Helder.Aguiar\Documents\SAMP03\gamemodes\NRV.pwn(3651) : error 017: undefined symbol "strtok" C:\Users\Helder.Aguiar\Documents\SAMP03\gamemodes\NRV.pwn(3652) : error 017: undefined symbol "strtok" Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 26 Errors.
CMD:skinorg(playerid) //Vocк colocou uma "{" desnecessбria.
{
if(PlayerInfo[playerid][pURSS] == 1)
SendClientMessage(playerid, Roxo,"Vocк pegou a skin da sua Organizaзao");
SetPlayerSkin(plid,209);
dini_IntSet(file2, "SkinORG", 209);
return 1;
}
new SAVE_SKIN[MAX_PLAYERS];
public OnPlayerConnect(playerid)
{
new str[38], nome[MAX_PLAYER_NAME];
GetPlayerName(playerid, nome, sizeof(nome));
format(str, sizeof(str), "Skin's/%s.ini", nome);
if(!fexist(str))
{
DOF2::CreateFile(str);
DOF2::SetInt(str, "Skin", SAVE_SKIN[playerid]);
}
else
SAVE_SKIN[playerid] = DOF2::GetInt(str, "Skin");
SetPlayerSkin(playerid, SAVE_SKIN[playerid]);
return true;
}
CMD:skinorg(playerid)
{
SAVE_SKIN[playerid] = SetPlayerSkin(playerid, 209);
SendClientMessage(playerid, -1, "Sua skin serб essa sempre que retonar ao servidor.");
return true;
}
Nao uso ZCMD. Caso isso vo masй desistir de fazer esse comando.
|
Mesmo o C4rtm4n sendo um pouco arrogante ele estб certo zcmd й muito mais fбcil e rapido
|
Nao uso ZCMD. Caso isso vo masй desistir de fazer esse comando.
|
if(strcmp(cmd, "/SkinORG", true) == 0) { //Vocк colocou uma "{" desnecessбria.
if(PlayerInfo[playerid][pURSS] == 1)
SendClientMessage(playerid, Roxo,"Vocк pegou a skin da sua Organizaзao");
SetPlayerSkin(plid,209);
dini_IntSet(file2, "SkinORG", 209);
return 1;
}
if(strcmp(cmd, "/SkinORG", true) == 0)
{
if(PlayerInfo[playerid][pURSS] == 1)
{
SendClientMessage(playerid, -1,"Vocк pegou a skin da sua Organizaзao");
SetPlayerSkin(playerid,209);/*SetPlayerSkin(plid,209);*/
dini_IntSet(file2, "SkinORG", 209);/*Tem quem definir o caminho se nгo dara erro(Definir o file2)*/
}
return 1;
}