SA-MP Scripting for Beginners Tutorial Series - Part 9 - Y_CMD and SSCANF 2

preview_player
Показать описание
This is the ninth tutorial in the SA-MP for Beginners tutorial series and in this video we're going to learn about some alternatives to OnPlayerCommandText and strcmp which are Y_CMD and SSCANF by Y_LESS. Thanks for watching!
Рекомендации по теме
Комментарии
Автор

you are awesome! decent scripter im a decent scripter because of your videos keep it up!

budelite
Автор

Really great video mate :-)) I understand it well.. but I've one confusion with what you said @6:50

_if(sscanf(params, "ui", TargetID, SkinID))_
_"if this function returns true, then it is actually false so this one is inverted..."_

I don't get why is it inverted then? If the functions sscanf is going to be true, because *"ui"* is the same as *TargetID, SkinID*.. then its going to be if(true) and we get the return to inform player to write it right, but why it's gonna do that when sscanf is true and not false ? If sscanf is true it means that player inputted wrong TargetID and SkinID ?? If yes, why is it inverted ?

_if(sscanf(params, "ui", TargetID, SkinID)) => if(true) return blabla;_
Why it can't be like this:
_if(!sscanf(params, "ui", TargetID, SkinID)) => if(!false) => if(true) return blabla_

dvorapat
Автор

Hey Bro I have Donloaded The YSI 3.1 and copied YSI.inc and a folder named YSI
but folder named amx is not present in there

naveenkr
Автор

i got this error fatal error 100: cannot read from file:

wanyushaidey
Автор

Make sure you add a links in dwscription to be easy to find the needed thing...

kikosandev
Автор

: fatal error 100: cannot read from file:
PLEASE HELP AND DONT IGNORE

ttlvlsg
Автор

Please answer me, that link can't be use anymore because that thread already removed by the SAMP Forums. Answer me please, Ikr this vid has been published 3 years ago.

mohamadsyahmisoria
Автор

Hey, I have done all this correctly, no error messages. But, when I get In-Game, and use the command /setskin, it sets it to 0. I have tried to use /setskin 0 14, but since there is already a command /setskin, it sets it to 0. I'm confused, since I have done everything like in your tutorials, and it still doesn't work.

IcedBjorn
Автор

i can't find ysi 3.1 in all google and ssamp why!?

jaxelmac
Автор

wow mcloven602 this error is still not working?

mohamadsamp
Автор

Give me link download please I can not find the link

mhwk
Автор

i got 5 erros and i did everything u dd pls help

tyrizmerkaskinner
Автор

Alright, I have an issue. Whenever I use the command '/setskin', with no parameters, it sends me a message saying "USAGE: (bla bla bla)". Which is good, I believe. Now, when I use a parameter, lets say, '/setskin 0 10', it still tells me about the USAGE, which I can't understand exactly. Add me on Skype. EdanCazakov. Same profile picture as this YouTube one.

edancazakov