Help please
#1

This is my code
pawn Код:
stock TeamBlueSettings(playerid) {
    SetPlayerTeam(playerid,1);
    SetPlayerColor(playerid,COLOR_BLUE);
    gTeam[playerid] = TEAM_BLUE;
    GivePlayerWeapon(playerid,24,10);
}
    stock TeamRedSettings(playerid) {
    SetPlayerTeam(playerid,0);
    SetPlayerColor(playerid,COLOR_RED);
    gTeam[playerid] = TEAM_Terrorist;
    GivePlayerWeapon(playerid,24,10);
}
Error is

Код:
error 001: expected token: ";", but found "stock"
Help please :S
Well when i do it ; it compile but will it work ?
Reply
#2

you are probably missing a ';' before the first stock.
Reply
#3

Edit: What he said ^
Reply
#4

U sure it will work D: ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)