19.11.2013, 19:57
CMD:buyclothes(playerid, params[])
{
if(IsAtClothShop(playerid))
// else { SendClientMessageEx(playerid, COLOR_WHITE, "You are not in a Clothing Shop!"); }
{
} // My code, no I don't give good code to people I don't know.
else
{
SendClientMessageEx( playerid, COLOR_WHITE, " You are not in a Clothing Shop!" );
}
return 1;
}
Why is the "else" invalid fun. or dec.? I have tried a lot of things but still get the error. Pls help
{
if(IsAtClothShop(playerid))
// else { SendClientMessageEx(playerid, COLOR_WHITE, "You are not in a Clothing Shop!"); }
{
} // My code, no I don't give good code to people I don't know.
else
{
SendClientMessageEx( playerid, COLOR_WHITE, " You are not in a Clothing Shop!" );
}
return 1;
}
Why is the "else" invalid fun. or dec.? I have tried a lot of things but still get the error. Pls help