19.03.2009, 14:18
Quote:
Originally Posted by Rav
you forgot
pawn Код:
|
pawn Код:
//global
new pDLicense[MAX_PLAYERS];
//onplayercommandtext
if(!strcmp(cmdtext, "/buylicense", true))
{
GivePlayerMoney(playerid,-500)
if(GetPlayerMoney(playerid) < 500)
return SendClientMessage(playerid, COLOR_RED, "Not enough money!");
pDLicense[playerid] = 1;
GivePlayerMoney(playerid, -500);
return SendClientMessage(playerid, COLOR_GREEN, "Congratulations! You've got your first driving license!");
}
Quote:
Originally Posted by Matuu
pawn Код:
|
Use my code above