Jump to content
  • 0

errori


zaster

Question

salut am si eu niste errori aici ..

C:\Documents and Settings\Vali\Desktop\createclan.pwn(17) : error 010: invalid function or declaration
C:\Documents and Settings\Vali\Desktop\createclan.pwn(19) : error 010: invalid function or declaration
C:\Documents and Settings\Vali\Desktop\createclan.pwn(28) : error 010: invalid function or declaration
C:\Documents and Settings\Vali\Desktop\createclan.pwn(32) : error 021: symbol already defined: "GetPlayerName"
C:\Documents and Settings\Vali\Desktop\createclan.pwn(36) : error 010: invalid function or declaration
C:\Documents and Settings\Vali\Desktop\createclan.pwn(38) : error 010: invalid function or declaration
C:\Documents and Settings\Vali\Desktop\createclan.pwn(41) : error 010: invalid function or declaration
C:\Documents and Settings\Vali\Desktop\createclan.pwn(44) : error 010: invalid function or declaration
C:\Documents and Settings\Vali\Desktop\createclan.pwn(47) : warning 203: symbol is never used: "SkinClan"
C:\Documents and Settings\Vali\Desktop\createclan.pwn(47) : warning 203: symbol is never used: "skinclan"
C:\Documents and Settings\Vali\Desktop\createclan.pwn(47) : warning 203: symbol is never used: "sname"
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


8 Errors.

560x95_FFFFFF_FF9900_000000_000000.png
Link to comment
Share on other sites

4 answers to this question

Recommended Posts

[pawn]

#include <a_samp>

#include <zcmd>

#define MAX_PLAYER_SKIN

new SkinClan[MAX_PLAYER_SKIN];

CMD:createclan(playerid,params[])

{

    #pragma unused params

new createclan[128];

new name[MAX_PLAYER_NAME];

    GetPlayerName(playerid,name,MAX_PLAYER_NAME);

    format(createclan,sizeof(createclan),"{0049FF}Hi {FFFF00}%s!\n\n{FA0000}Type Your Clan Name here!",name);

    ShowPlayerDialog(playerid, 128, DIALOG_STYLE_INPUT, "CreateClan" ,createclan, "Enter", "Cancel");

    }

    else

    {

case 1;

{"Thug Life")

{"Aztecas")

{"Grove Street")

{"Killers")

{"Street Hunters")

{"Silent Gunters")

{"RSR Clan")

    }

else

{

new skinclan[128];

new sname[MAX_PLAYER_NAME];

    GetPlayerName(playerid,sname,MAX_PLAYER_NAME);

    format(skinclan,sizeof(skinclan)," {FFFF00}%s!\n\n{FA0000}Type Your Skin Number Here",sname);

ShowPlayerDialog(playerid, 289, DIALOG_STYLE_INPUT, "Skin Selection",skinclan, "Select", "Back");

}

case 1;

{

if SkinClan[MAX_PLAYER_SKIN];

{ 123 , 293 , 12 ,18, 15,200 ,245,232);

return 0;

}

[/pawn]

560x95_FFFFFF_FF9900_000000_000000.png
Link to comment
Share on other sites

Incearca asa

[pawn]#include <a_samp>

#include <zcmd>

#define MAX_PLAYER_SKIN

new SkinClan[MAX_PLAYER_SKIN];

CMD:createclan(playerid,params[])

{

    #pragma unused params

new createclan[128];

new name[MAX_PLAYER_NAME];

    GetPlayerName(playerid,name,MAX_PLAYER_NAME);

    format(createclan,sizeof(createclan),"{0049FF}Hi {FFFF00}%s!\n\n{FA0000}Type Your Clan Name here!",name);

    ShowPlayerDialog(playerid, 128, DIALOG_STYLE_INPUT, "CreateClan" ,createclan, "Enter", "Cancel");

    }

    else

    {

case 1;

{"Thug Life"}

{"Aztecas"}

{"Grove Street"}

{"Killers"}

{"Street Hunters"}

{"Silent Gunters"}

{"RSR Clan"}

    }

else

{

new skinclan[128];

new sname[MAX_PLAYER_NAME];

    GetPlayerName(playerid,sname,MAX_PLAYER_NAME);

    format(skinclan,sizeof(skinclan)," {FFFF00}%s!\n\n{FA0000}Type Your Skin Number Here",sname);

ShowPlayerDialog(playerid, 289, DIALOG_STYLE_INPUT, "Skin Selection",skinclan, "Select", "Back");

}

case 1;

{

if SkinClan[MAX_PLAYER_SKIN];

{ 123 , 293 , 12 ,18, 15,200 ,245,232};

return 0;

}

[/pawn]

gXvsYS
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.