givemoney
#2

Money is an amount. You are using string instead of an integer. Replace the following:

pawn Код:
if(sscanf(params, "us", pID, kolicina))return SendClientMessage(playerid, -1, ""BOJA_PLAVA"[Info]"BOJA_BELA" Pravilan Sintaks: /givemoney [DeoImena/ID] [Kolicina].");
With
pawn Код:
if(sscanf(params, "ui", pID, kolicina))return SendClientMessage(playerid, -1, ""BOJA_PLAVA"[Info]"BOJA_BELA" Pravilan Sintaks: /givemoney [DeoImena/ID] [Kolicina].");
You can either use i or d because kolicina is not a string but integer.
Reply


Messages In This Thread
givemoney - by MatriXgaMer - 10.02.2014, 19:16
Re: givemoney - by FalconX - 10.02.2014, 19:44
Re: givemoney - by Konstantinos - 10.02.2014, 19:49

Forum Jump:


Users browsing this thread: 1 Guest(s)