Vice City Multiplayer

VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: ClaN_Tai on February 05, 2010, 09:28:32 pm

Title: [PAWNO] Commands and Class selection...
Post by: ClaN_Tai on February 05, 2010, 09:28:32 pm
I got following propblems:

Whenever I use "AddPlayerClass();" there will no skin shown on
class selection. I am a bit confused bout that problem as I cannot find
any explanation.

Could anyone tell me how they should be scripted? I got no freaking
idea if I use "strcmp" it does not work either. Does I have to
care about any specific thing that is different to SA:MP PAWNO?
Title: Re: [PAWNO] Commands and Class selection...
Post by: -TriX- on February 06, 2010, 11:39:37 pm
-to add or edit a class a class
  AddPlayerClassEx(COLORID,SKINID,x,y,z,angle,wep-id,wep-ammo,wep2-id,wep3-ammo,wep4-id,wep4-ammo);

*coords x,y,z and angle are included when you save a location with /s

-about strcmd
 
Code: [Select]
else if (strcmp(cmd, "!mycommand", true) == 0)
{
tmp = strtok(cmdtext, idx);
if (!strlen(tmp)) {
            //do something here insert an event for this cmd
   SetPlayerPos(playerid, 495.7786,-83.4285,10.0299);
            SendClientMessage(playerid, COLOR_GREEN, "Hello this is a text!!!");
            //now i have insert setplayerpos and u will be teleported to the coords(malibu)
}
return 1;
}
;)
Title: Re: [PAWNO] Commands and Class selection...
Post by: ClaN_Tai on February 07, 2010, 02:49:35 am
Thanks but this is used like...

/c !mycommand

any way to make commands like...

/mycommand ?
Title: Re: [PAWNO] Commands and Class selection...
Post by: thijn on February 07, 2010, 11:51:20 am
nope there is no way to do that
Title: Re: [PAWNO] Commands and Class selection...
Post by: -TriX- on February 07, 2010, 02:07:49 pm
you can do only /c mycommand and not /mycommand (that is only for client cmds) zorry  :-\
Title: Re: [PAWNO] Commands and Class selection...
Post by: [AoD]NC on February 07, 2010, 02:57:02 pm
/me thinks that there must be a new VCMP FAQ because this is the 10th time, that someone ask about / commands...
Title: Re: [PAWNO] Commands and Class selection...
Post by: Boss on February 07, 2010, 03:45:24 pm
/me thinks that there must be a new VCMP FAQ because this is the 10th time, that someone ask about / commands...
http://tdhclan.ru/wiki/index.php/Commands
Title: Re: [PAWNO] Commands and Class selection...
Post by: [AoD]NC on February 07, 2010, 04:09:35 pm
Put the link on this forum and pin it, because nubs dont know about this wiki :].
Title: Re: [PAWNO] Commands and Class selection...
Post by: Boss on February 08, 2010, 01:07:26 pm
Put the link on this forum and pin it, because nubs dont know about this wiki :].
http://forum.vicecitymultiplayer.com/index.php?topic=1689.0
Title: Re: [PAWNO] Commands and Class selection...
Post by: ClaN_Tai on February 10, 2010, 10:58:43 pm
To be truth there is still much missing in all VC:MP wikis that exists...
Title: Re: [PAWNO] Commands and Class selection...
Post by: Boss on February 10, 2010, 11:37:19 pm
To be truth there is still much missing in all VC:MP wikis that exists...
You could always fill them yourself. Or at least tell what's missing.