29.12.2014, 20:22
Okay I got now same error but on other line..
Lines!
(16031) : error 029: invalid expression, assumed zero
(16033) : error 029: invalid expression, assumed zero
Lines!
Код:
CMD:getgift(playerid, params[]) { new string[128]; if(IsPlayerInRangeOfPoint(playerid, 3.0,2546.680908, 1403.430786, 7699.584472)) { if(PlayerInfo[playerid][pDonateRank] >= 1) { if(VIPGifts == 0 && PlayerInfo[playerid][pDonateRank] < 4) { SendClientMessageEx(playerid, COLOR_GRAD2, "Da Bi Khoa!"); return 1; } if(PlayerInfo[playerid][pGiftTime] > 0) { SendClientMessageEx(playerid, COLOR_GRAD2, "You already get a gift from last 5 hours!"); return 1; } format(string, sizeof(string), "* %s has close his eyes and wish a presents.", GetPlayerNameEx(playerid)); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPL E,COLOR_PURPLE); GiftPlayer(MAX_PLAYERS, playerid); } }
Код:
if(PlayerInfo[playerid][pDonateRank] >= 1)
Код:
if(VIPGifts == 0 && PlayerInfo[playerid][pDonateRank] < 4)