[Tutorial] How to script some important admin commands.
#9

Quote:
Originally Posted by Lorenc_
View Post
Hello,

I cannot script really great and I really want to know this:



Whats params? Whats Playerid? Whats CMD



What does this mean? There's [50], [128], [MAX_PLAYER_NAME], are they suppose to be values?



I get a error, it says I haven't got pAdminLevel defined



What is this? sscanf "uz" id and reason



Whats ID and playerid? I don't get it.



Whats GetPlayerName, there's many stuff like 'sizeof'

Whats format?

whats SendClientMessageToAll?

Whats BanEx? What will it exactly do to the values


It's not a god damn tutorial!
Yes i Agree, When making a [TUT] you should first explain all that stuff, that "Lorenc_" kindly pointed out an what it actually does!
so then people have a little understanding on how it all works, anybody can CTRL+C an CTRL+V.

And also,
pawn Code:
else if(playerid == INVALID_PLAYER_ID) SendClientMessage(playerid,COLOR_RED,"System: Invalid ID");// like wtf, when will this ever happen?, your the playerid an your sending the cmd, how can it be invalid? and "else if" what for??
correct me if i am wrong please as i use standard string compare still...
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 4 Guest(s)