Errors.
#1

Код:
E:\server0\gamemodes\Trucking.pwn(1586) : error 010: invalid function or declaration
E:\server0\gamemodes\Trucking.pwn(1590) : error 010: invalid function or declaration
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
Lines.
pawn Код:
if(strcmp(cmdtext,"/st",true) == 0)
    {
    SetPlayerHealth(playerid, 0);
    ForceClassSelection(playerid);
    return 1;
    }
Reply
#2

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/st", cmdtext, true, 2) == 0)
    {
        SetPlayerHealth(playerid, 0);
        ForceClassSelection(playerid);
        return 1;
    }
    return 0;
}
Reply
#3

with your lines.

Код:
E:\server0\gamemodes\Trucking.pwn(1586) : error 010: invalid function or declaration
E:\server0\gamemodes\Trucking.pwn(1590) : error 010: invalid function or declaration
E:\server0\gamemodes\Trucking.pwn(1592) : error 010: invalid function or declaration
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Errors.
Reply
#4

it don't give me any error
Код:
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase

Header size:           4076 bytes
Code size:           114832 bytes
Data size:            52600 bytes
Stack/heap size:      16384 bytes; estimated max. usage: unknown, due to recursion
Total requirements:  187892 bytes
Reply
#5

EDIT: Fixed.. Thanks Rudy_
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)