ERROR Help
#1

Код:
C:\Documents and Settings\Mantis\Desktop\Freeroam\gamemodes\FreeRoam.pwn(51) : error 010: invalid function or declaration
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Код:
public OnPlayerConnect(playerid)
{
new vardass[MAX_PLAYER_NAME];
GetPlayerName(playerid, vardass, sizeof(vardass));
format(vardass, sizeof(vardass), "%s Paliko serverį", vardass);
SendClientMessageToAll(0xC4C4C4FF, vardass);
}
return 1;
SendClientMessage(playerid,Z,"[{FFFFFF}FR{80FF00}] Sveiki Atvyke į Free Roam'a");
SendClientMessage(playerid,Z,"[{FFFFFF}FR{80FF00}] Serverio Pagrindine komanda /komandos");
SendClientMessage(playerid,Z,"[{FFFFFF}FR{80FF00}] Norėdami pradėti ћaisti spausk {FFFF00}SHIFT{80FF00} mygtuką");
GivePlayerMoney(playerid,85000000);
SetPlayerScore(playerid,5000);
SetPlayerColor(playerid,G);
}
}
Please Help
Reply
#2

pawn Код:
public OnPlayerConnect(playerid)
{
    new vardass[MAX_PLAYER_NAME];
    GetPlayerName(playerid, vardass, sizeof(vardass));
    format(vardass, sizeof(vardass), "%s Paliko serverį", vardass);
    SendClientMessageToAll(0xC4C4C4FF, vardass);
    SendClientMessage(playerid,Z,"[{FFFFFF}FR{80FF00}] Sveiki Atvyke į Free Roam'a");
    SendClientMessage(playerid,Z,"[{FFFFFF}FR{80FF00}] Serverio Pagrindine komanda /komandos");
    SendClientMessage(playerid,Z,"[{FFFFFF}FR{80FF00}] Norėdami pradėti ћaisti spausk {FFFF00}SHIFT{80FF00} mygtuką");
    GivePlayerMoney(playerid,85000000);
    SetPlayerScore(playerid,5000);
    SetPlayerColor(playerid,G);
    return 1;
}
Reply
#3

Thanks!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)