Need Help
#1

Ok so here is the deal

GivePlayerMoney(killerid, GetPlayerMoney(killerid) +5000);

This is a basic code but it gives more money then 5000.First it gives like 5025 then 10000 then 40000 etc etc

Can someone tell me why is this happening.
Reply
#2

Because it's look like this

Give Player Money - the player, the player money + 5000 more.

It's increasing by 5000.
Reply
#3

Just
pawn Код:
GivePlayerMoney( killerid, 5000 );
It doesn't set money to do it as the way yu posted but it gives.
Reply
#4

A simple mistake caused so many problems thanks guys.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)