pawn Код:
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");
{