Vice City Multiplayer

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

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


If i type spawn-cmd:


In Console:



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



CMD:



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, 03:59:53 AM
create vehicle does not work
Title: Re: [PAWN][Help]Spawn Command
Post by: BIG[H] on April 27, 2011, 04: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);