[HELP] +1 RespectPoint VIP
#1

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");
}
Reply
#2

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

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

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
Reply
#5

sorry didn't notice
Reply
#6

What to do exactly want to do with it?Increase the points?
Reply
#7

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


Forum Jump:


Users browsing this thread: 1 Guest(s)