CLEO Help im done with sampfuncs haha

CLEO related
Status
Not open for further replies.

Hidend

Expert
Joined
Mar 4, 2013
Messages
625
Reaction score
39
0AF9: samp say_msg "%s %d, %s!" 1@ 2@v 3@v

im trying to do that with springfield snippet (0af9 without sampfuncs) but i can't do that, how can i do that
 

Hidend

Expert
Joined
Mar 4, 2013
Messages
625
Reaction score
39
springfield link said:
fuckin' shit..

@v = string = %s

2@v = 2@, 3@, 4@, 5@

It's been explained like 100 times already...
That is ok springfield, but i don't know how to put this ( 1@ 2@v 3@v) in this opcode
0AB1: @SAY 1 $text

I have a text from .ini, 5[member=34438].[/member]..
if i want to show that message with sampfuncs i will use this
0AF9: samp say_msg "%s!" 5@

but with your snippet for do 0af9 without sampfuncs i don't know how to do...
I thought in this...
0AB1: @SAY "%s" 5@
0AB1: @SAY %s 5@

and no more, and i think none of them will work...

EDIT: Replace 5@ with 5@v ghahaha
 

Hidend

Expert
Joined
Mar 4, 2013
Messages
625
Reaction score
39
springfield link said:
0AB1: @SAY 1 5@

Read this; http://ugbase.eu/tutorials/0ab1-call_scm_function/ to understand how 0AB1/2 works.
Yo springfield, and if i want strings, will be like this?
0AB1: @SAY 1 %s %s 1@ 2@v 3@v
 
Joined
Feb 18, 2005
Messages
2,963
Reaction score
267
Hidend link said:
I have a text from .ini, 5@..

5@ is already a string.
If you want to make a string using some other numbers/substrings use 0AD3.

Code:
0AC8: 0@ = 144
0AD3: format 0@ = "%s %s %d" 5@ 6@ 3@
0AB1: @SAY 1 0@
0AC9: 0@
 
Status
Not open for further replies.
Top