18.06.2009, 12:20
Well I tried to make it as FS, but I failed and got a lot of errors 
I didn't do anything with the script I just added those :
Before the command...
EDIT : Well ok i know how to fix these color errors and player to point , but what about the others ?

pawn Код:
C:\Users\mark\Desktop\Casino.pwn(107) : error 017: undefined symbol "strtok"
C:\Users\mark\Desktop\Casino.pwn(107) : error 033: array must be indexed (variable "cmd")
C:\Users\mark\Desktop\Casino.pwn(110) : error 017: undefined symbol "strtok"
C:\Users\mark\Desktop\Casino.pwn(110) : error 033: array must be indexed (variable "tmp")
C:\Users\mark\Desktop\Casino.pwn(111) : error 001: expected token: ")", but found "return"
C:\Users\mark\Desktop\Casino.pwn(111) : error 017: undefined symbol "COLOR_GREY"
C:\Users\mark\Desktop\Casino.pwn(114) : error 017: undefined symbol "PlayerToPoint"
C:\Users\mark\Desktop\Casino.pwn(124) : error 017: undefined symbol "COLOR_RED"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
8 Errors.
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
// define strtok stuff here, or use dcmd
new pLotto;
new RandNumber;
new cmd[256];
new tmp[256];
cmd = strtok(cmdtext, idx);
EDIT : Well ok i know how to fix these color errors and player to point , but what about the others ?
