is this line make any sense?
#1

pawn Код:
new otherplayerid = strval(tmp)
if(!IsPlayerConnected(otherplayerid) return 0;
if(!otherplayerid = playerid) GivePlayerMoney(otherplayerid,10000)
this line is bigger problem for me:
pawn Код:
if(!otherplayerid = playerid) GivePlayerMoney(otherplayerid,10000)
help
Reply
#2

Tell us what are you going to do.
Reply
#3

if u get an error i suggest you make
pawn Код:
if(!otherplayerid = playerid) GivePlayerMoney(otherplayerid,10000)
to
pawn Код:
if(!otherplayerid == playerid){GivePlayerMoney(otherplayerid,10000)}// brackets just for case... xD
or to
pawn Код:
if(otherplayerid != playerid){GivePlayerMoney(otherplayerid,10000)}// brackets just for case... xD
Reply
#4

Quote:
Originally Posted by gamer_Z
if u get an error i suggest you make
pawn Код:
if(!otherplayerid = playerid) GivePlayerMoney(otherplayerid,10000)
to
pawn Код:
if(!otherplayerid == playerid){GivePlayerMoney(otherplayerid,10000)}// brackets just for case... xD
OK and except that everything is fine?

ohh and i think you forgot ; in the end:
pawn Код:
if(!otherplayerid == playerid){GivePlayerMoney(otherplayerid,10000)};
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)