SA-MP Forums Archive
help (target) - 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)
+--- Thread: help (target) (/showthread.php?tid=279401)



help (target) - Horrible - 27.08.2011

SOLVED


Re: help (target) - Davz*|*Criss - 27.08.2011

Try changing

pawn Код:
if(sccanf(params, "dd" ,target,clan))
To

pawn Код:
if(sccanf(params, "ud" ,target,clan))



Re: help (target) - Kush - 27.08.2011

Quote:
Originally Posted by Davz*|*Criss
Посмотреть сообщение
Try changing

pawn Код:
if(sccanf(params, "dd" ,target,clan))
To

pawn Код:
if(sccanf(params, "udd" ,target,clan))
You mean:

PHP код:
if(sccanf(params"udd" ,target,clan)) 
to

PHP код:
if(sccanf(params"ud" ,target,clan)) 
'u' targets the id.


Re: help (target) - Horrible - 27.08.2011

TY...i will try this


Re: help (target) - Davz*|*Criss - 27.08.2011

@Kush

What do you mean?
I edited my post.


Re: help (target) - =WoR=G4M3Ov3r - 27.08.2011

Quote:
Originally Posted by Davz*|*Criss
Посмотреть сообщение
@Kush

What do you mean?
I edited my post.
He means that u = User, takes a name, part of a name or an id and returns the id if they're connected.

So basically, you can't use udd together. so it should be

PHP код:
if(sccanf(params"ud" ,target,clan)) 
Instead of

PHP код:
if(sccanf(params"udd" ,target,clan)) 
And d is an integer.


Re: help (target) - Davz*|*Criss - 27.08.2011

Do you have eyes?

I am really tired i wrote udd first then directly i edited.


Re: help (target) - =WoR=G4M3Ov3r - 27.08.2011

Quote:
Originally Posted by Davz*|*Criss
Посмотреть сообщение
Do you have eyes?

I am really tired i wrote udd first then directly i edited.
Actually, Yes, i do have eyes, and i know you did it by mistake, that's why i didn't send the wiki link, and accuse you of giving the wrong code.. so next time, don't flame.


Re: help (target) - Davz*|*Criss - 27.08.2011

Flame ?

What you on about?

You'd really have a problem, and i have not flamed you. Stop bullshitting lying on Me.

Plus dont make this topic as offtopic and if you really want to fight then i really got
Time for you.


Re: help (target) - =WoR=G4M3Ov3r - 27.08.2011

Quote:
Originally Posted by Davz*|*Criss
Посмотреть сообщение
Flame ?

What you on about?

You'd really have a problem, and i have not flamed you. Stop bullshitting lying on Me.

Plus dont make this topic as offtopic and if you really want to fight then i really got
Time for you.
Mm, After what i saw.. No thanks man, And am not gonna go off topic.. But on the bride side i know what you're made of.

https://sampforum.blast.hk/showthread.php?tid=267893
https://sampforum.blast.hk/showthread.php?tid=268415
https://sampforum.blast.hk/showthread.php?tid=267237

Anyway, please stop spamming this topic now, and do it over PMs.