error 029: invalid expression, assumed zero - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: error 029: invalid expression, assumed zero (
/showthread.php?tid=553067)
error 029: invalid expression, assumed zero -
[S-G]Cypher - 27.12.2014
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)
Re: error 029: invalid expression, assumed zero -
Ahmad45123 - 27.12.2014
Indent the code please.... -_-
Re: error 029: invalid expression, assumed zero -
[S-G]Cypher - 27.12.2014
Quote:
Originally Posted by Ahmad45123
Indent the code please.... -_-
|
Still same shit!
That doesnt matter! do you have any other idea?
Re: error 029: invalid expression, assumed zero -
[S-G]Cypher - 28.12.2014
Anyone? please I need it