14.12.2012, 13:54
Hi
Please help,i need to convert this command strcmp.
Thanks!
Sorry for my low english
Please help,i need to convert this command strcmp.
Код:
CMD:snow(playerid, params[])
{
if(snowOn{playerid})
{
DeleteSnow(playerid);
SendClientMessage(playerid, 0x00FF00AA, "* A hуesйs elбllt!");
}
else
{
CreateSnow(playerid);
SendClientMessage(playerid, 0x00FF00AA, "* A hуesйs elindult!");
}
return 1;
}
CMD:allsnowon(playerid, params[])
{
if(!IsPlayerAdmin(playerid)) return 0;
ploop(i) //This is included in my FS! It's the '#define ploop(%0)' thing.
{
if(snowOn{i}) continue;
CreateSnow(i);
}
return 1;
}
CMD:allsnowoff(playerid, params[])
{
if(!IsPlayerAdmin(playerid)) return 0;
ploop(i)
{
if(!snowOn{i}) continue;
DeleteSnow(i);
}
return 1;
}

Sorry for my low english



