SA-MP Forums Archive
Getting angry :P - 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: Getting angry :P (/showthread.php?tid=208853)



Getting angry :P - bartje01 - 09.01.2011

Hey guys. I'm working in a fresh new FS now.
I included zcmd. I just made 1 single cmd

Please. what is wrong?
I don't know what to do anymore.


http://pastebin.com/F5nS32GT


It's a sceript with 1 cmd
zcmd included
sscanf

Please help and I'll lvoe you for sure


Re: Getting angry :P - [WF]Demon - 09.01.2011

exactly what is the problem?


Re: Getting angry :P - bartje01 - 09.01.2011

When I do

/setfun 23598 1

it still says: Funpoints added. SO he can't see that the player is not connected

If I do /setfun [myid] 10 my funpoints just don't getting add.

So actualy almost nothing works. I don't see anything wrong in my script. how can this happen?


Re: Getting angry :P - wilko1995 - 09.01.2011

Ignore this post


Re: Getting angry :P - bartje01 - 09.01.2011

still doesn't work wilko


Re: Getting angry :P - Alex_Valde - 09.01.2011

Try this:

http://pastebin.com/YqbvVD4J


Re: Getting angry :P - wilko1995 - 09.01.2011

@ Alex,

shouldn't
Код:
else if(IsPlayerConnected(id)) SendClientMessage(playerid, COLOR_DARKORANGE, "Player not found");
be
Код:
else if(!IsPlayerConnected(id)) SendClientMessage(playerid, COLOR_DARKORANGE, "Player not found");
with the "!" Before "IsPlayerConnected"?


Re: Getting angry :P - Alex_Valde - 09.01.2011

Quote:
Originally Posted by wilko1995
Посмотреть сообщение
@ Alex,

shouldn't
Код:
else if(IsPlayerConnected(id)) SendClientMessage(playerid, COLOR_DARKORANGE, "Player not found");
be
Код:
else if(!IsPlayerConnected(id)) SendClientMessage(playerid, COLOR_DARKORANGE, "Player not found");
with the "!" Before "IsPlayerConnected"?
Shit! :P Yeah sorry. I was doing it quickly so I didn't really see this. Sorry about that, should be like wilko1995 said. :S


Re: Getting angry :P - wilko1995 - 09.01.2011

Yay, I helped out.. =D I'm happy, i've learnt something... But anyways, bartje try the code Alex posted an reply if it doesn't work


Re: Getting angry :P - bartje01 - 09.01.2011

atal error 100: cannot read from file: "sscanf2"

Can someone send me the sscanf2 include please?