Author Topic: [PAWN][Help]Spawn Command  (Read 3088 times)

0 Members and 1 Guest are viewing this topic.

Offline Darken

  • Street Thug
  • *
  • Posts: 1
    • View Profile
[PAWN][Help]Spawn Command
« 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...

Offline tato

  • Made Man
  • ***
  • Posts: 106
  • I bet u don't know me!
    • View Profile
    • EA Server
Re: [PAWN][Help]Spawn Command
« Reply #1 on: April 27, 2011, 04:59:53 am »
create vehicle does not work

Offline BIG[H]

  • Made Man
  • ***
  • Posts: 159
  • Sight of light
    • View Profile
Re: [PAWN][Help]Spawn Command
« Reply #2 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);
Outdoor city server Administrator, FS server owner!