Vice City Multiplayer
November 14, 2018, 02:03:15 pm *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: VC:MP 0.3z r2 is released! http://vicecitymultiplayer.com
 
   Home   Help Search Members Login Register  
Pages: [1]
  Print  
Author Topic: [PAWN][Help]Spawn Command  (Read 595 times)
0 Members and 1 Guest are viewing this topic.
Darken
Street Thug
*
Offline Offline

Posts: 1


View Profile
« on: April 26, 2011, 03:56:33 pm »

hi i am have a problem with spawn command:


If i type spawn-cmd:


In Console:

Code:

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


CMD:

Code:

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...
Logged
tato
Made Man
***
Offline Offline

Posts: 150


I am Tato, and i like to help other people in pawn


View Profile
« Reply #1 on: April 27, 2011, 02:59:53 am »

create vehicle does not work
Logged






<!-- Facebook Badge START --><a href="http://es-es.facebook.com/eduardoeslindo" target="_TOP" style="font-family: &quot;lucida grande&quot;,tahoma,verdana,arial,sans-serif; font-size: 11px; font-variant: normal; font-style: normal; font-weight: normal; color: #3B5998; text-decoration: none;" title="Eduardo Estrada">Eduardo Estrada</a><br/><a href="http://es-es.facebook.com/eduardoeslindo" target="_TOP" title="Eduardo Estrada"><img src="http://badge.facebook.com/badge/697470158.6069.1979465113.png" width="120" height="272" style="b
BIG[H]
Made Man
***
Offline Offline

Posts: 198

(Pawn / Squirrel) Scripter.


View Profile
« Reply #2 on: April 27, 2011, 03:39:21 am »

Pawn Does not Support Create Vehicle in R2 ..Maybe in 0.4 Tongue
For Getting PCJ

You have to Script More


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

My Guru FORUM MUST VISITmegavcmp.freeforums.org

BIG[H] = BIG HaLL
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!