/steal
#1

So i tried to make this /steal [ID] command but i get this warning
Код:
C:\Users\Admin\Desktop\HueHue\gamemodes\mode.pwn(937) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warning.
On this line
PHP код:
GivePlayerMoney(id -ukradeno); 
I defined ukradeno like this
PHP код:
new ukradeno = (random(GetPlayerMoney(id)/10)); 
I want it to GetPlayerMoney and divide it by 10
Reply
#2

Код:
GivePlayerMoney(id, -ukradeno);
Reply
#3

Quote:
Originally Posted by K0P
Посмотреть сообщение
Код:
GivePlayerMoney(id, -ukradeno);
HAHHAHAAHAHAHA thank you mate . I can't belive i made mistake there hahhahaah
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)