Vice City Multiplayer
VC:MP 0.3 => mIRC/pawn Scripting => Topic started 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?
-
-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;
}
;)
-
Thanks but this is used like...
/c !mycommand
any way to make commands like...
/mycommand ?
-
nope there is no way to do that
-
you can do only /c mycommand and not /mycommand (that is only for client cmds) zorry :-\
-
/me thinks that there must be a new VCMP FAQ because this is the 10th time, that someone ask about / commands...
-
/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
-
Put the link on this forum and pin it, because nubs dont know about this wiki :].
-
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
-
To be truth there is still much missing in all VC:MP wikis that exists...
-
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.