Problem with my stock code :))
#1

Solved Problem
Reply
#2

Arguments are the words between the ( ) 's and you made inn ur stock:
pawn Код:
AdminZinute( playerid, Spalva, string[] )
and in the error line u used:
pawn Код:
AdminZinute( COLOR_MELYNA, string );
So you have to make it like this (without the ***'s):
pawn Код:
AdminZinute(***playerid***, COLOR_MELYNA, string );
Or something else depending on who to send it too
Reply
#3

Hm... but error
Код:
D:\Deivido\Serveriai\Stunt world-LT\gamemodes\Untitled.pwn(416) : error 029: invalid expression, assumed zero
D:\Deivido\Serveriai\Stunt world-LT\gamemodes\Untitled.pwn(416) : error 029: invalid expression, assumed zero
D:\Deivido\Serveriai\Stunt world-LT\gamemodes\Untitled.pwn(416) : warning 215: expression has no effect
D:\Deivido\Serveriai\Stunt world-LT\gamemodes\Untitled.pwn(416) : warning 215: expression has no effect
D:\Deivido\Serveriai\Stunt world-LT\gamemodes\Untitled.pwn(416) : error 001: expected token: ";", but found ")"
D:\Deivido\Serveriai\Stunt world-LT\gamemodes\Untitled.pwn(416) : fatal error 107: too many error messages on one line
Код:
AdminZinute( ***playerid***, COLOR_MELYNA, string );
Reply
#4

Did i not say to leave away the *'s.....
Meaning:
pawn Код:
AdminZinute( playerid, COLOR_MELYNA, string );
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)