error 029: invalid expression, assumed zero
#1

Okay I got now same error but on other line..

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);
}
}
(16031) : error 029: invalid expression, assumed zero
Код:
if(PlayerInfo[playerid][pDonateRank] >= 1)
(16033) : error 029: invalid expression, assumed zero
Код:
if(VIPGifts == 0 && PlayerInfo[playerid][pDonateRank] < 4)
Reply
#2

Indent the code please.... -_-
Reply
#3

Quote:
Originally Posted by Ahmad45123
Посмотреть сообщение
Indent the code please.... -_-
Still same shit!
That doesnt matter! do you have any other idea?
Reply
#4

Anyone? please I need it
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)