Vice City Multiplayer

VC:MP 0.3 => mIRC/pawn Scripting => Topic started by: Darken on April 26, 2011, 05:56:33 pm

Title: [PAWN][Help]Spawn Command
Post by: Darken on April 26, 2011, 05:56:33 pm
hi i am have a problem with spawn command:


If i type spawn-cmd:


In Console:

Code: [Select]

[Own3r]: !pcj
SCRIPT: Bad parameter count <32 != 7>:
SCRIPT: Bad parameter count <32 != 7>:


CMD:

Code: [Select]

if (strcmp(cmdtext, "!pcj", true)==0)

{

new Float:x, Float:y, Float:z;

GetPlayerPos(playerid,x,y,z);

CreateVehicle(191,x,y,z+5,0,0,0,999);

return 1;

}



Please Help...
Title: Re: [PAWN][Help]Spawn Command
Post by: tato on April 27, 2011, 04:59:53 am
create vehicle does not work
Title: Re: [PAWN][Help]Spawn Command
Post by: BIG[H] on April 27, 2011, 05:39:21 am
Pawn Does not Support Create Vehicle in R2 ..Maybe in 0.4 :P
For Getting PCJ

You have to Script More


SetVehiclePos(pcjbikeID-NotModel,x,y,z,1.00);