problem with script
#1

i have a problem with my script
i had a code in my server it was working correct
but when i added the /freefall command it gives errors of scripts that still are the same

srry about my english

http://pastebin.com/m7ccc3455

Код:
:\Users\jari\Desktop\ST.F.O\gamemodes\ST.F.O.pwn(112) : warning 202: number of arguments does not match definition
C:\Users\jari\Desktop\ST.F.O\gamemodes\ST.F.O.pwn(113) : error 001: expected token: ";", but found "{"
C:\Users\jari\Desktop\ST.F.O\gamemodes\ST.F.O.pwn(114) : error 010: invalid function or declaration
C:\Users\jari\Desktop\ST.F.O\gamemodes\ST.F.O.pwn(117) : error 021: symbol already defined: "GetPlayerPos"
C:\Users\jari\Desktop\ST.F.O\gamemodes\ST.F.O.pwn(119) : error 010: invalid function or declaration
C:\Users\jari\Desktop\ST.F.O\gamemodes\ST.F.O.pwn(122) : error 010: invalid function or declaration
C:\Users\jari\Desktop\ST.F.O\gamemodes\ST.F.O.pwn(124) : error 021: symbol already defined: "x"
C:\Users\jari\Desktop\ST.F.O\gamemodes\ST.F.O.pwn(124) : error 021: symbol already defined: "z"
C:\Users\jari\Desktop\ST.F.O\gamemodes\ST.F.O.pwn(124) : error 010: invalid function or declaration
C:\Users\jari\Desktop\ST.F.O\gamemodes\ST.F.O.pwn(124) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


9 Errors.
Reply
#2

bamp

need help RLY quick
REALY!
Reply
#3

There you go: http://pastebin.com/m5ebf6e4d

Didn't have time to correct everything but compiled, and worked fine.
Reply
#4

tnx

u only used tab?
or am i missing something
Reply
#5

Umm, no...

Line 112:

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])IsPlayerInAnyVehicle()
I removed IsPlayerInAnyVehicle()

Line 116, 138:

pawn Код:
new float:x, float:y, float:z;
Put Float, not float, they are different.

Line 124:

pawn Код:
new float:x, float:y, float:z; float:VehicleID;
Put Float instead of float and see that after float:z you have ";" instead of ",", + VehicleID shouldn't be a float.

GL scripting
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)