Posts: 3,351
Threads: 780
Joined: Jan 2010
pawn Код:
if(strcmp(cmd, "/skin", true) == 0)
{
if(PlayerVip[playerid] == 1)
{
new skin;
if(!strlen(tmp)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /skin [skinid]");
if(IsInvalidSkin(skin)) return SendClientMessage(playerid, COLOR_GREY, "* Invalid Skin ID");
SetPlayerSkin(player, skin);
SendClientMessage(player, COLOR_WHITE, "Skin changed!");
return 1;
)
}
What's wrong with this?
Posts: 709
Threads: 54
Joined: Jul 2010
Reputation:
0
You did " ) " instead of " } "
Posts: 3,351
Threads: 780
Joined: Jan 2010
Quote:
Originally Posted by Porsche911
You did " ) " instead of " } "
|
Umh?Where?
Posts: 6,129
Threads: 36
Joined: Jan 2009
pawn Код:
if(strcmp(cmd, "/skin", true) == 0)
{
if(PlayerVip[playerid] == 1)
{
new skin;
if(!strlen(tmp)) return SendClientMessage(playerid, COLOR_WHITE, "USAGE: /skin [skinid]");
if(IsInvalidSkin(skin)) return SendClientMessage(playerid, COLOR_GREY, "* Invalid Skin ID");
SetPlayerSkin(player, skin);
SendClientMessage(player, COLOR_WHITE, "Skin changed!");
return 1;
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>)
}
You should read through your code before posting, it takes seconds.
Posts: 230
Threads: 5
Joined: Nov 2010
Reputation:
0
EDIT: Already fixed, I see.
Posts: 3,351
Threads: 780
Joined: Jan 2010
Thanks all and sorry for being "noobish",this school killing me.