08.05.2011, 09:08
pawn Код:
public OnPlayerConnect(playerid)
{
new string[120], pName[MAX_PLAYER_NAME];
GetPlayerName(playerid,pName,MAX_PLAYER_NAME);
format(string,sizeof string,"{C3C3C3}%s has joined the server. Welcome!",pName);
SendClientMessageToAll(0xFFFFFFAA,string);
ShowPlayerDialog(playerid, 2, DIALOG_STYLE_MSGBOX,"{AFE7FF}Server Rules", "{AFE7FF}Rule 1:No Hacking\nRule 2:No Imature Behavioure\nRule 3:No Racism\nRule 4:Respect all players\nRule 5:Do not be abusive to Admins or KICK/BAN\nRule 6:Have Fun!\nDecline our rules you will be KICKED!", "Accept", "Decline");
GameTextForPlayer(playerid,"~n~~n~~n~~n~~r~Welcome to GRP~n~General Rocket Party",2000,5);
TextDrawShowForPlayer(playerid,Textdraw0);
//Map icons
SetPlayerMapIcon(playerid, 46, 1326.64, 351.34, 19.55, 0, 0); //Map icon created by Lorenc's Map icon creator
SetPlayerMapIcon(playerid, 46, 1326.86, 351.31, 19.55, 43, 0); //Map icon created by Lorenc's Map icon creator
SetPlayerMapIcon(playerid, 46, 2838.94, 1291.01, 11.39, 43, 0); //Map icon created by Lorenc's Map icon creator
SetPlayerMapIcon(playerid, 46, 2238.39, 1286.34, 10.82, 42, 0); //Map icon created by Lorenc's Map icon creator
SetPlayerMapIcon(playerid, 46, 2185.58, 1114.26, 12.64, 43, 0); //Map icon created by Lorenc's Map icon creator
SetPlayerMapIcon(playerid, 46, 2185.74, 1114.27, 12.64, 44, 0); //Map icon created by Lorenc's Map icon creator
SetPlayerMapIcon(playerid, 46, 2019.47, 1008.64, 10.82, 44, 0); //Map icon created by Lorenc's Map icon creator
SetPlayerMapIcon(playerid, 46, 2089.86, 1451.24, 10.82, 44, 0); //Map icon created by Lorenc's Map icon creator
SetPlayerMapIcon(playerid, 46, 2196.85, 1678.23, 12.36, 44, 0); //Map icon created by Lorenc's Map icon creator
SetPlayerMapIcon(playerid, 46, 2223.84, 1837.98, 10.82, 44, 0); //Map icon created by Lorenc's Map icon creator
SetPlayerMapIcon(playerid, 46, 2017.80, 1916.54, 12.34, 44, 0); //Map icon created by Lorenc's Map icon creator
SetPlayerMapIcon(playerid, 46, 2192.87, 1990.86, 12.29, 38, 0); //Map icon created by Lorenc's Map icon creator
SetPlayerMapIcon(playerid, 46, 2166.65, 2118.89, 10.82, 44, 0); //Map icon created by Lorenc's Map icon creator
SetPlayerMapIcon(playerid, 46, 2165.84, 2164.38, 10.82, 44, 0); //Map icon created by Lorenc's Map icon creator
SetPlayerMapIcon(playerid, 46, 2373.25, 2169.37, 10.82, 44, 0); //Map icon created by Lorenc's Map icon creator
//pickups
AddStaticPickup(1239, 1, 2837.87, 1290.32, 11.39, 0); //Pickup created by Lorenc's pickup creator
//Labels
Create3DTextLabel("Emerald Isle Casino",0x37FF00FF,2127.71, 2376.94, 10.82,20.0,0); //3D Text created by Lorenc's 3D Text cre
Create3DTextLabel("SpiderWalk Casino",0xFFFA00FF,2165.65, 2164.28, 10.82,20.0,0); //3D Text created by Lorenc's 3D Text creat
Create3DTextLabel("Survive Casino",0xFFFA00FF,2168.47, 2117.78, 10.82,20.0,0); //3D Text created by Lorenc's 3D Text creator
Create3DTextLabel("Grannion Casino",0xFFFA00FF,2371.54, 2165.52, 10.82,20.0,0); //3D Text created by Lorenc's 3D Text creator
Create3DTextLabel("Caligulas Casino",0xFAFAFAFF,2194.15, 1677.15, 12.36,20.0,0); //3D Text created by Lorenc's 3D Text creato
Create3DTextLabel("Royal Casino",0xFFD200FF,2088.68, 1450.52, 10.82,20.0,0); //3D Text created by Lorenc's 3D Text creator
Create3DTextLabel("Piramide Casino",0xFFD200FF,2235.82, 1285.65, 10.82,20.0,0); //3D Text created by Lorenc's 3D Text creator
Create3DTextLabel("Come a Lot Hotel",0xFFD200FF,2179.34, 1116.98, 12.64,20.0,0); //3D Text created by Lorenc's 3D Text creato
Create3DTextLabel("Four Dragon Casino",0xFF0005FF,2023.48, 1007.58, 10.82,20.0,0); //3D Text created by Lorenc's 3D Text crea
return 1;