Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp> //SA-MP TeaM
- #include <streamer> //icognito's Include
- #include <dof2> //Double-o-sevem.
- #include zcmd
- #include <YSI\y_ini>
- #include <sscanf2>
- main()
- {
- print("\n----------------------------------");
- print(" Blank Gamemode by your name here");
- print("----------------------------------\n");
- }
- //=====[ARRAYS]======
- new texto;
- new nome[MAX_PLAYER_NAME];
- new Str[128];
- new id;
- public OnGameModeInit()
- {
- // Don't use these lines if it's a filterscript
- SetGameModeText("Blank Script");
- AddPlayerClass(0, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
- return true;
- }
- public OnGameModeExit()
- {
- return true;
- }
- public OnPlayerRequestClass(playerid, classid)
- {
- SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
- SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
- SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
- return true;
- }
- public OnPlayerConnect(playerid)
- {
- return true;
- }
- public OnPlayerDisconnect(playerid, reason)
- {
- return true;
- }
- public OnPlayerSpawn(playerid)
- {
- return true;
- }
- public OnPlayerDeath(playerid, killerid, reason)
- {
- return true;
- }
- public OnVehicleSpawn(vehicleid)
- {
- return true;
- }
- public OnVehicleDeath(vehicleid, killerid)
- {
- return true;
- }
- public OnPlayerText(playerid, text[])
- {
- return true;
- }
- //public OnPlayerCommandText(playerid, cmdtext[])
- //{
- CMD:mp(playerid, params[])
- {
- if(sscanf(params, "us",id,texto))
- {
- SendClientMessage(playerid,-1,"Use: /mp [id] [texto]");
- }
- else
- {
- if(IsPlayerConnected(id)) return SendClientMessage(playerid, -1, "Este jogador não está conectado");
- GetPlayerName(playerid,nome,sizeof(nome));
- format(Str, sizeof(Str), "Mesangem Privada de %s: %s",nome,texto);
- SendClientMessage(id,-1,Str);
- }
- return true;
- }
- public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
- {
- return true;
- }
- public OnPlayerExitVehicle(playerid, vehicleid)
- {
- return true;
- }
- public OnPlayerStateChange(playerid, newstate, oldstate)
- {
- return true;
- }
- public OnPlayerEnterCheckpoint(playerid)
- {
- return true;
- }
- public OnPlayerLeaveCheckpoint(playerid)
- {
- return true;
- }
- public OnPlayerEnterRaceCheckpoint(playerid)
- {
- return true;
- }
- public OnPlayerLeaveRaceCheckpoint(playerid)
- {
- return true;
- }
- public OnRconCommand(cmd[])
- {
- return true;
- }
- public OnPlayerRequestSpawn(playerid)
- {
- return true;
- }
- public OnObjectMoved(objectid)
- {
- return true;
- }
- public OnPlayerObjectMoved(playerid, objectid)
- {
- return true;
- }
- public OnPlayerPickUpPickup(playerid, pickupid)
- {
- return true;
- }
- public OnVehicleMod(playerid, vehicleid, componentid)
- {
- return true;
- }
- public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
- {
- return true;
- }
- public OnVehicleRespray(playerid, vehicleid, color1, color2)
- {
- return true;
- }
- public OnPlayerSelectedMenuRow(playerid, row)
- {
- return true;
- }
- public OnPlayerExitedMenu(playerid)
- {
- return true;
- }
- public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
- {
- return true;
- }
- public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
- {
- return true;
- }
- public OnRconLoginAttempt(ip[], password[], success)
- {
- return true;
- }
- public OnPlayerUpdate(playerid)
- {
- return true;
- }
- public OnPlayerStreamIn(playerid, forplayerid)
- {
- return true;
- }
- public OnPlayerStreamOut(playerid, forplayerid)
- {
- return true;
- }
- public OnVehicleStreamIn(vehicleid, forplayerid)
- {
- return true;
- }
- public OnVehicleStreamOut(vehicleid, forplayerid)
- {
- return true;
- }
- public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
- {
- return true;
- }
- public OnPlayerClickPlayer(playerid, clickedplayerid, source)
- {
- return true;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement