I need help please
#1

I really need some help with scripting, I'm from lsrgta, and I want to learn to script (So no, I'm not their scripter, so don't take it out on their server, lol)

Ok, so I started attempting to make a DM server, this is my first problem:

http://pastebin.com/6eb5uXsn

My Error:

C:\Users\Cazzum\Desktop\gamemodes\Untitled.pwn(54) : warning 202: number of arguments does not match definition
C:\Users\Cazzum\Desktop\gamemodes\Untitled.pwn(55) : warning 202: number of arguments does not match definition
C:\Users\Cazzum\Desktop\gamemodes\Untitled.pwn(56) : warning 202: number of arguments does not match definition
C:\Users\Cazzum\Desktop\gamemodes\Untitled.pwn(66) : error 036: empty statement
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.
Reply
#2

http://pastebin.com/8SxyJfVA
Reply
#3

The correct format for SetPlayerPos is
pawn Код:
SetPlayerPos(playerid,Float:x,Float:y,Float:z)
The correct format for SetPlayerCameraPos is
pawn Код:
SetPlayerCameraPos(playerid,Float:x,Float:y,Float:z)
And the correct format for SetPlayerCameraLookAt is
pawn Код:
SetPlayerCameraLookAt(playerid,Float:x,Float:y,Float:z)
And remove the ; at line 66 after else

All of this information can be found at SA-MP's wiki page.
Reply
#4

Wow, thanks for the help, its completely working now.

I really appreciate the help.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)