C:\Users\Dominykas\Desktop\Freeroam\gamemodes\ltfreeroam.pwn(649) : warning 217: loose indentation C:\Users\Dominykas\Desktop\Freeroam\gamemodes\ltfreeroam.pwn(649) : error 029: invalid expression, assumed zero C:\Users\Dominykas\Desktop\Freeroam\gamemodes\ltfreeroam.pwn(649) : error 004: function "OnPlayerRequestClass" is not implemented C:\Users\Dominykas\Desktop\Freeroam\gamemodes\ltfreeroam.pwn(651) : error 017: undefined symbol "playerid" C:\Users\Dominykas\Desktop\Freeroam\gamemodes\ltfreeroam.pwn(652) : error 017: undefined symbol "playerid" C:\Users\Dominykas\Desktop\Freeroam\gamemodes\ltfreeroam.pwn(653) : error 017: undefined symbol "playerid" C:\Users\Dominykas\Desktop\Freeroam\gamemodes\ltfreeroam.pwn(654) : error 017: undefined symbol "playerid" C:\Users\Dominykas\Desktop\Freeroam\gamemodes\ltfreeroam.pwn(655) : error 017: undefined symbol "playerid" C:\Users\Dominykas\Desktop\Freeroam\gamemodes\ltfreeroam.pwn(656) : error 017: undefined symbol "playerid" C:\Users\Dominykas\Desktop\Freeroam\gamemodes\ltfreeroam.pwn(660) : warning 225: unreachable code C:\Users\Dominykas\Desktop\Freeroam\gamemodes\ltfreeroam.pwn(660) : error 029: invalid expression, assumed zero C:\Users\Dominykas\Desktop\Freeroam\gamemodes\ltfreeroam.pwn(660) : error 004: function "OnPlayerConnect" is not implemented C:\Users\Dominykas\Desktop\Freeroam\gamemodes\ltfreeroam.pwn(662) : error 017: undefined symbol "playerid" C:\Users\Dominykas\Desktop\Freeroam\gamemodes\ltfreeroam.pwn(664) : error 017: undefined symbol "playerid" C:\Users\Dominykas\Desktop\Freeroam\gamemodes\ltfreeroam.pwn(666) : error 017: undefined symbol "playerid" C:\Users\Dominykas\Desktop\Freeroam\gamemodes\ltfreeroam.pwn(669) : error 017: undefined symbol "playerid" C:\Users\Dominykas\Desktop\Freeroam\gamemodes\ltfreeroam.pwn(670) : error 017: undefined symbol "playerid" C:\Users\Dominykas\Desktop\Freeroam\gamemodes\ltfreeroam.pwn(671) : error 017: undefined symbol "playerid" C:\Users\Dominykas\Desktop\Freeroam\gamemodes\ltfreeroam.pwn(672) : error 017: undefined symbol "playerid" C:\Users\Dominykas\Desktop\Freeroam\gamemodes\ltfreeroam.pwn(673) : error 017: undefined symbol "playerid" C:\Users\Dominykas\Desktop\Freeroam\gamemodes\ltfreeroam.pwn(675) : error 017: undefined symbol "playerid" C:\Users\Dominykas\Desktop\Freeroam\gamemodes\ltfreeroam.pwn(678) : error 017: undefined symbol "playerid" C:\Users\Dominykas\Desktop\Freeroam\gamemodes\ltfreeroam.pwn(681) : error 017: undefined symbol "playerid" C:\Users\Dominykas\Desktop\Freeroam\gamemodes\ltfreeroam.pwn(683) : error 017: undefined symbol "playerid" C:\Users\Dominykas\Desktop\Freeroam\gamemodes\ltfreeroam.pwn(684) : error 017: undefined symbol "playerid" C:\Users\Dominykas\Desktop\Freeroam\gamemodes\ltfreeroam.pwn(689) : warning 225: unreachable code C:\Users\Dominykas\Desktop\Freeroam\gamemodes\ltfreeroam.pwn(689) : error 029: invalid expression, assumed zero C:\Users\Dominykas\Desktop\Freeroam\gamemodes\ltfreeroam.pwn(689) : error 004: function "OnPlayerSpawn" is not implemented C:\Users\Dominykas\Desktop\Freeroam\gamemodes\ltfreeroam.pwn(691) : error 017: undefined symbol "playerid" Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 26 Errors.
Public OnPlayerRequestClass (playerid, classid)
{
SetPlayerFacingAngle (playerid, 250.7573);
SetPlayerPos (playerid, -2450.8013, -305.1058,56.9433);
SetPlayerCameraPos (playerid, -2439.3076, -307.7223,57.9584);
SetPlayerCameraLookAt (playerid, -2450.8013, -305.1058,56.9433);
PlayerPlaySound (playerid, 1138, 257.6206, -41.5307, 1002.0234) / / Sound
ApplyAnimation (playerid, "Dancing," "DAN_Left_A" 4.0,1,0,0,0, -1) / / Dance
return 1;
}
Connect Player On //============================== =============== ================
Public OnPlayerConnect (playerid)
{
printf ("OnPlayerConnect (% d)", playerid);
new String [256];
GameTextForPlayer (playerid, "~ r ~ LV Free-Roam ~ n ~ ~ w ~ ', 10000.1);
new name [24];
GetPlayerName (playerid, name, 24);
format (string, sizeof (string) "***% will join us!. "cottage);
SendClientMessageToAll (COLOR_WHITE, string);
SendClientMessage (playerid, COLOR_GOLD, "Welcome");
SendClientMessage (playerid, 0x7CFC00FF, Register! / Register [password] ");
SendClientMessage (playerid, 0x7CFC00FF, "All of our servers can be found here http://sampfreeroom.heavenforum.com");
SendClientMessage (playerid, 0x7CFC00FF, "Do not forget isimesti our server to your favorites!");
SendClientMessage (playerid, 0x7CFC00FF, "Help - / help");
format (string, sizeof (string), please sign up to play. "cottage);
ShowPlayerDialog (playerid, 1, DIALOG_STYLE_INPUT, "Registration," string "Register", "Reject");
{
format (string, sizeof (string) Please log in to play. "cottage);
ShowPlayerDialog (playerid, 2, DIALOG_STYLE_INPUT, "Connection" string "Log", "Cancel");
}
new file [128], name [128];
GetPlayerName (playerid, name, 128);
format (file, 128, "user /% s.ini", name);
if (! dini_Exists (file)) ShowPlayerDialog (playerid, 9876, DIALOG_STYLE_INPUT "Enter" "Enter password:", "OK", "Exit");
else ShowPlayerDialog (playerid, 9877, DIALOG_STYLE_INPUT, "Connection", "Enter password:", "OK", "Exit");
return 1;
}
//================================================ ==============================
He //============================= Player Spawn ================ ==================
Public OnPlayerSpawn (playerid)
{
SendClientMessage (playerid, COLOR_GOLD, Info & Help - / help ");
{
{
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerFacingAngle(playerid,250.7573);
SetPlayerPos(playerid,-2450.8013,-305.1058,56.9433);
SetPlayerCameraPos(playerid,-2439.3076,-307.7223,57.9584);
SetPlayerCameraLookAt(playerid,-2450.8013,-305.1058,56.9433);
PlayerPlaySound(playerid, 1138, 257.6206, -41.5307, 1002.0234);// Garsas
ApplyAnimation(playerid,"DANCING","DAN_Left_A",4.0,1,0,0,0,-1);// Sokis
return 1;
}
//==============================On Player Connect===============================
public OnPlayerConnect(playerid)
{
printf("OnPlayerConnect(%d)", playerid);
new string[256];
GameTextForPlayer(playerid, " ~r~LT Free-Roam ~n~ ~w~",10000,1);
new name[ 24 ];
GetPlayerName( playerid, name, 24 );
format( string, sizeof( string ), "***%s prisijunge prie musu!.", name );
SendClientMessageToAll(COLOR_WHITE, string );
SendClientMessage(playerid, COLOR_GOLD, "Sveikas atvykes");
SendClientMessage(playerid, 0x7CFC00FF, "Usiregistruok! /register [slaptazodis]");
SendClientMessage(playerid, 0x7CFC00FF, "Viska apie musu serveri galite suzinoti cia http://sampfreeroom.heavenforum.com");
SendClientMessage(playerid, 0x7CFC00FF, "Nepamirsk isimesti musu serverio i Favorites!!! ");
SendClientMessage(playerid, 0x7CFC00FF, "Pagalba - /pagalba");
format( string ,sizeof( string ),"Prasome uzsiregistruoti, kad galetumete zaisti.",name);
ShowPlayerDialog(playerid,1,DIALOG_STYLE_INPUT,"Registracija",string,"Registruotis","Atmesti");
{
format( string ,sizeof( string ),"Prasome prisijungti, kad galetumete zaisti.",name);
ShowPlayerDialog(playerid,2,DIALOG_STYLE_INPUT,"Prisijungimas",string,"Prisijungti","Atsmesti");
}
new file[128], vardas[128];
GetPlayerName(playerid, vardas, 128);
format(file,128,"Users/%s.ini",vardas);
if(!dini_Exists(file)) ShowPlayerDialog(playerid,9876,DIALOG_STYLE_INPUT,"Registracija","Įveskite slaptaћodį:","Gerai","Iљeiti");
else ShowPlayerDialog(playerid,9877,DIALOG_STYLE_INPUT,"Prisijungimas","Įveskite slaptaћodį:","Gerai","Iљeiti");
return 1;
}
//==============================================================================
//=============================On Player Spawn==================================
public OnPlayerSpawn(playerid)
{
SendClientMessage(playerid, COLOR_GOLD, "Info & Pagalba - /pagalba");
{
Please put them inside the [ pawn ] [ /pawn ] tags - [ pawnscript ] tags are not valid.
Also comment the lines that are giving the warnings, so I have an easier time locating them. This forum requires that you wait 120 seconds between posts. Please try again in 34 seconds. |
plz make this english:
pawn Код:
|