Wierd error - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Wierd error (
/showthread.php?tid=215345)
Wierd error -
Typhome - 23.01.2011
nvm... :[
Re: Wierd error -
bartje01 - 23.01.2011
try to split this line up in two
pawn Код:
[Virtuaal: %d] [Lokaator: %d] [Vдlimus: %d]",
atext,age,otext,isikukood,pnumber,level,exp,expamount,ptime,drank,housekey,bizkey,
carkey,carkey2,carkey3,drugs,mats,bigfish,arrests,intir,virworld,local,skinid);
Re: Wierd error -
Typhome - 23.01.2011
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa :{
Re: Wierd error -
BMUK - 23.01.2011
The coordsstring string your formatting and sending is (far) too long. The error would go away if you shortened the input.
You could shorten it by using two commands? /stats1 and /stats2 ?
* BMUK would like to see a solution to this input issue also
Re: Wierd error -
bartje01 - 23.01.2011
You can't edit the limit.
@ the guy above me.
2 stat commands would be anoying.
You can just send two clientmessages like this:
format(string),sizeof(string,"Money: %d, Bankmoney %d",money,bankmoney);
SendClientMessage(playerid,COLOR_YELLOW,string);
format(string),sizeof(string,"Kills: %d, Deaths %d",kills,deaths);
SendClientMessage(playerid,COLOR_YELLOW,string);
This will send both of the lines.
Re: Wierd error -
Typhome - 23.01.2011
I have one idea and that works :] (strcat)
Re: Wierd error -
bartje01 - 23.01.2011
I've editted my post. LOok at it.