why "player.Spawn" doesn't work

Started by RW, Feb 07, 2016, 10:06 AM

Previous topic - Next topic

RW

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...

Thijn

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?

[VM_U]Spectra.PhantoM^

if ur trying to spawn urself and not anyone else use /spawn
Wanna Talk To Me? Come At Irc #Jugo@LUNet

Thijn

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.

[VM_U]Spectra.PhantoM^

its better if u just show ur code along with the onPlayerCommand function.
Wanna Talk To Me? Come At Irc #Jugo@LUNet

KAKAN

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
oh no

[VM_U]Spectra.PhantoM^

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.
Wanna Talk To Me? Come At Irc #Jugo@LUNet