zcmd + sscanf + strcmp + next param.
#3

pawn Код:
new name[20], slot;
as you see name is a string, slot is a integirer (i/d)

Comand putin should store a value to another variable, that |"another"| variable stores value to a file.
It`s like GF command trunk putgun etc only with this difference so player can choose slot.
ofcourse there are many checks for example - if slot is in use etc stuff...
Reply


Messages In This Thread
zcmd + sscanf + strcmp + next param. - by GaGlets(R) - 10.10.2010, 14:38
Re: zcmd + sscanf + strcmp + next param. - by LarzI - 10.10.2010, 14:50
Re: zcmd + sscanf + strcmp + next param. - by GaGlets(R) - 10.10.2010, 14:55
Re: zcmd + sscanf + strcmp + next param. - by LarzI - 10.10.2010, 15:00
Re: zcmd + sscanf + strcmp + next param. - by GaGlets(R) - 10.10.2010, 15:02
Re: zcmd + sscanf + strcmp + next param. - by GaGlets(R) - 10.10.2010, 15:23
Re: zcmd + sscanf + strcmp + next param. - by LarzI - 10.10.2010, 19:10

Forum Jump:


Users browsing this thread: 1 Guest(s)