Author Topic: [PAWNO] Commands and Class selection...  (Read 8017 times)

0 Members and 2 Guests are viewing this topic.

Offline ClaN_Tai

  • Street Thug
  • *
  • Posts: 10
    • View Profile
[PAWNO] Commands and Class selection...
« on: February 05, 2010, 09:28:32 pm »
I got following propblems:

  • Class-Selection
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.

  • Commands
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?

Offline -TriX-

  • Street Thug
  • *
  • Posts: 13
  • Elite Paradise VC-MP Server Administrator.
    • View Profile
    • Killzserver VC-MP
Re: [PAWNO] Commands and Class selection...
« Reply #1 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;
}
;)

Offline ClaN_Tai

  • Street Thug
  • *
  • Posts: 10
    • View Profile
Re: [PAWNO] Commands and Class selection...
« Reply #2 on: February 07, 2010, 02:49:35 am »
Thanks but this is used like...

/c !mycommand

any way to make commands like...

/mycommand ?

Offline thijn

  • LU testers
  • VC:MP Veteran
  • *
  • Posts: 667
  • Im proud to be pro.
    • View Profile
    • Vice Underdogs
Re: [PAWNO] Commands and Class selection...
« Reply #3 on: February 07, 2010, 11:51:20 am »
nope there is no way to do that

Offline -TriX-

  • Street Thug
  • *
  • Posts: 13
  • Elite Paradise VC-MP Server Administrator.
    • View Profile
    • Killzserver VC-MP
Re: [PAWNO] Commands and Class selection...
« Reply #4 on: February 07, 2010, 02:07:49 pm »
you can do only /c mycommand and not /mycommand (that is only for client cmds) zorry  :-\

Offline [AoD]NC

  • VC:MP Beta Tester
  • VC:MP Veteran
  • *
  • Posts: 616
  • AoD forever!
    • View Profile
    • KURWA MAĆ
Re: [PAWNO] Commands and Class selection...
« Reply #5 on: February 07, 2010, 02:57:02 pm »
* [AoD]NC thinks that there must be a new VCMP FAQ because this is the 10th time, that someone ask about / commands...

Offline Boss

  • VC:MP Beta Tester (inactive)
  • Made Man
  • *
  • Posts: 229
  • Boss
    • View Profile
    • TDH Clan Site
Re: [PAWNO] Commands and Class selection...
« Reply #6 on: February 07, 2010, 03:45:24 pm »
* [AoD]NC 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

Offline [AoD]NC

  • VC:MP Beta Tester
  • VC:MP Veteran
  • *
  • Posts: 616
  • AoD forever!
    • View Profile
    • KURWA MAĆ
Re: [PAWNO] Commands and Class selection...
« Reply #7 on: February 07, 2010, 04:09:35 pm »
Put the link on this forum and pin it, because nubs dont know about this wiki :].

Offline Boss

  • VC:MP Beta Tester (inactive)
  • Made Man
  • *
  • Posts: 229
  • Boss
    • View Profile
    • TDH Clan Site
Re: [PAWNO] Commands and Class selection...
« Reply #8 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

Offline ClaN_Tai

  • Street Thug
  • *
  • Posts: 10
    • View Profile
Re: [PAWNO] Commands and Class selection...
« Reply #9 on: February 10, 2010, 10:58:43 pm »
To be truth there is still much missing in all VC:MP wikis that exists...

Offline Boss

  • VC:MP Beta Tester (inactive)
  • Made Man
  • *
  • Posts: 229
  • Boss
    • View Profile
    • TDH Clan Site
Re: [PAWNO] Commands and Class selection...
« Reply #10 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.