Using variables in SetPlayerPos
#1

Hey,

I started 2 days ago with PAWN and I have a question about the SetPlayerPos-command.
I'm making a !gotoloc-script which reads locations from some .ini-files. But if I want to import them into the SetPlayerPos-command using variables, then I got errors like "error 035: argument type mismatch (argument 2)".

Here is an example of the command I use in my !gotoloc-script:

Код:
SetPlayerPos(playerid,resultX,resultY,resultZ);
Can I use variables in the SetPlayerPos-command and if that's possible, how?

It will be nice if someone could tell me the answer, thank you.
Reply


Messages In This Thread
Using variables in SetPlayerPos - by Bolletje - 25.03.2009, 17:19
Re: Using variables in SetPlayerPos - by Rks25 - 25.03.2009, 17:20
Re: Using variables in SetPlayerPos - by Bolletje - 25.03.2009, 17:23
Re: Using variables in SetPlayerPos - by Rks25 - 25.03.2009, 17:50
Re: Using variables in SetPlayerPos - by Bolletje - 25.03.2009, 20:07

Forum Jump:


Users browsing this thread: 1 Guest(s)