10.04.2009, 06:32
Quote:
Originally Posted by Lastman
Код:
if(strcmp(cmd, "/buyflyinglicense", true) == 0) { if(PlayerInfo[playerid][pFlyLic] == 0) { if(GetPlayerCash(playerid) >= 10000) { GivePlayerCash(playerid,-10000); SendClientMessage(playerid,COLOR_LIGHTGREEN,"You have just bought a flying license.."); PlayerInfo[playerid][pFlyLic] = 1; OnPlayerDataSave(playerid); } else { SendClientMessage(playerid,COLOR_LIGHTGREEN,"You don't have enough money!"); } } else { SendClientMessage(playerid,COLOR_LIGHTGREEN,"You already have a license!"); } return 1; } |
whered u get that from?