Vice City Multiplayer

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

Title: [PAWNO] Commands and Class selection...
Post by: ClaN_Tai on February 05, 2010, 07: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, 09: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
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, 12: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, 09: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, 12: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, 12: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, 01:45:24 PM
Quote from: [AoD]NC on February 07, 2010, 12:57:02 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, 02: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, 11:07:26 AM
Quote from: [AoD]NC on February 07, 2010, 02:09:35 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, 08: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, 09:37:19 PM
Quote from: ClaN_Tai on February 10, 2010, 08:58:43 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.