SA-MP Forums Archive
[HELP] +1 RespectPoint VIP - 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: [HELP] +1 RespectPoint VIP (/showthread.php?tid=513631)



[HELP] +1 RespectPoint VIP - monster010 - 17.05.2014

I tried to make a VIP system, and each payday to give him another plus point in respect

Код:
C:\gf.pwn(9533) : warning 215: expression has no effect
pawn Код:
if(PlayerInfo[i][pVIP] == 1)
{
PlayerInfo[i][pExp]+2;
SendClientMessage(i, COLOR_GRAD1, "Ai primit +1 RP pentru ca esti VIP");
}



Re: [HELP] +1 RespectPoint VIP - Youssef214 - 17.05.2014

simple:
pawn Код:
PlayerInfo[i][pExp]+=2;



Re: [HELP] +1 RespectPoint VIP - AroseKhanNiazi - 17.05.2014

pawn Код:
PlayerInfo[i][pExp] +=2;



Re: [HELP] +1 RespectPoint VIP - Youssef214 - 17.05.2014

Arose,your code will send these errors:
pawn Код:
D:\Samp 0.3z\clients\port_2222\filterscripts\gwhouse.pwn(677) : error 029: invalid expression, assumed zero
D:\Samp 0.3z\clients\port_2222\filterscripts\gwhouse.pwn(677) : warning 215: expression has no effect



Re: [HELP] +1 RespectPoint VIP - AroseKhanNiazi - 17.05.2014

sorry didn't notice


Re: [HELP] +1 RespectPoint VIP - Sojo12 - 17.05.2014

What to do exactly want to do with it?Increase the points?


Re: [HELP] +1 RespectPoint VIP - Rittik - 17.05.2014

PlayerInfo[i][pExp]=PlayerInfo[i][pExp]+2;