ERROR Help - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: ERROR Help (
/showthread.php?tid=406001)
ERROR Help -
R3ST - 08.01.2013
Код:
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
Re: ERROR Help -
Konstantinos - 08.01.2013
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;
}
Re: ERROR Help -
R3ST - 08.01.2013
Thanks!