Vice City: Multiplayer

VC:MP Discussion => General Discussion => Topic started by: RW on Feb 07, 2016, 10:06 AM

Title: why "player.Spawn" doesn't work
Post by: RW on Feb 07, 2016, 10:06 AM
I can't spawn , so I created a Command = "spawn" , copy this : http://wiki.vc-mp.org/wiki/Scripting/Squirrel/Functions/Player.Spawn
So I type /spawn rw ( my nickname is rw )
It messages but I don't spawn...
Title: Re: why "player.Spawn" doesn't work
Post by: Thijn on Feb 07, 2016, 10:45 AM
Post your command. If it's the same as the example, make sure you are actually not spawned.
Where are you trying to use this command?
Title: Re: why "player.Spawn" doesn't work
Post by: [VM_U]Spectra.PhantoM^ on Feb 07, 2016, 11:10 AM
if ur trying to spawn urself and not anyone else use /spawn
Title: Re: why "player.Spawn" doesn't work
Post by: Thijn on Feb 07, 2016, 03:41 PM
Quote from: {ultimatejugo] on Feb 07, 2016, 11:10 AMif ur trying to spawn urself and not anyone else use /spawn
You clearly didn't see the example code.
Title: Re: why "player.Spawn" doesn't work
Post by: [VM_U]Spectra.PhantoM^ on Feb 09, 2016, 05:22 AM
its better if u just show ur code along with the onPlayerCommand function.
Title: Re: why "player.Spawn" doesn't work
Post by: KAKAN on Feb 09, 2016, 05:27 AM
Quote from: {ultimatejugo] on Feb 09, 2016, 05:22 AMits better if u just show ur code along with the onPlayerCommand function.
You blind idiot.
He said, he copied it from the wiki lol
Quote to remind you:
Quote from: [F.B.I]RW on Feb 07, 2016, 10:06 AMI can't spawn , so I created a Command = "spawn" , copy this : http://wiki.vc-mp.org/wiki/Scripting/Squirrel/Functions/Player.Spawn
Title: Re: why "player.Spawn" doesn't work
Post by: [VM_U]Spectra.PhantoM^ on Feb 09, 2016, 01:18 PM
Quote from: KAKAN on Feb 09, 2016, 05:27 AM
Quote from: {ultimatejugo] on Feb 09, 2016, 05:22 AMits better if u just show ur code along with the onPlayerCommand function.
You blind idiot.
He said, he copied it from the wiki lol
Quote to remind you:
Quote from: [F.B.I]RW on Feb 07, 2016, 10:06 AMI can't spawn , so I created a Command = "spawn" , copy this : http://wiki.vc-mp.org/wiki/Scripting/Squirrel/Functions/Player.Spawn
Nut brain im asking for the code because the way he added it would be like
he has more than one cmds and still he added this cmd at the bottom without adding the else in "if (cmd == "spawn")"
then there is the possibility of him missing some brackets. DUMBO.