Quote:
Originally Posted by =KempeR=
PHP код:
new commandShopUsed[MAX_PLAYERS];
#define commandShopInterval 3600 //in seconds
CMD:shop(playerid) {
if (gettime() < commandShopUsed[playerid]) //
return SendClientMessage(playerid, -1, "Please Wait to use this command again");
commandShopUsed[playerid] = gettime() + commandShopInterval;
//Common code starts here
return true;
}
What exactly do not you understand? I can not exactly explain everything, I do not know English very well
|
didn't work, and 7 errors on complie