29.08.2011, 14:02
fixed, thanks awot

if(strcmp(cmd,"/givecookieall", true) == 0)
{
if(IsPlayerConnected(playerid))
{
// Your codes ?
}
return 1;
}
if(strcmp(cmd,"/givecookieall", true) == 0)
for(new playerid=0; playerid<MAX_PLAYERS; playerid++)
{
if(IsPlayerConnected(playerid))
{
Cookie++;// how you define cookies
}
return 1;
}