Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // _____NEW VERSION_____//
- /* Premier Taxi FS by Flashbrot ©
- **************************************
- Do not release this FS (without my permission)!
- Traduzido Por Capao_DATP
- WWW.BLOGDOSAMP.COM.BR
- Version 0.2
- */
- #include <a_samp>
- #pragma tabsize 0 // <-- deletes warning "loose indentation"
- new taxi;
- new taxi2;
- new taxi3;
- #if defined FILTERSCRIPT
- public OnFilterScriptInit()
- {
- print("\n***************************************");
- print(" Sistema de Taxi: Capao DATP");
- print("Copyright by Flashbrot\n");
- print("Do not remove Copyright \n");
- print("Do not release it ! Do not release it as your own!\n");
- print("Traduzido Por: Capao DATP");
- print("****************************************\n");
- return 1;
- }
- public OnFilterScriptExit()
- {
- return 1;
- }
- #else
- main()
- {
- print("\n----------------------------------");
- print(" Sistema de Taxi; Capao DATP");
- print("----------------------------------\n");
- }
- #endif
- public OnGameModeInit()
- {
- taxi = CreateObject(19309,0,0,-1000,0,0,0,100);
- taxi2 = CreateObject(19309,0,0,-1000,0,0,0,100);
- taxi3 = CreateObject(19309,0,0,-1000,0,0,0,100);
- return 1;
- }
- public OnGameModeExit()
- {
- return 1;
- }
- public OnPlayerConnect(playerid)
- {
- SendClientMessage(playerid, 0xFFFFFFFF,"Este Server Usa o FS de Taxi de: Capao_DATP");
- // ^ You can remove this if you want ^
- return 1;
- }
- public OnVehicleDeath(vehicleid)
- {
- DestroyObject(taxi);
- DestroyObject(taxi2);
- DestroyObject(taxi3);
- return 1;
- }
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if (strcmp("/taxion", cmdtext, true, 10) == 0)
- {
- AttachObjectToVehicle(taxi, GetPlayerVehicleID(playerid), 0.000000,-0.225000,0.899999,0.000000,0.000000,-89.099983);
- AttachObjectToVehicle(taxi2, GetPlayerVehicleID(playerid), 0.000000,-2.775000,-0.149999,0.000000,0.000000,-89.099983);
- AttachObjectToVehicle(taxi3, GetPlayerVehicleID(playerid), 0.000000,2.400000,0.000000,0.000000,0.000000,-89.099983);
- GameTextForPlayer(playerid, "~b~Seu TAXI agora esta ~n~~r~Em Serviço", 6000,3);
- return 1;
- }
- if (strcmp("/taxioff", cmdtext, true, 10) == 0)
- {
- DestroyObject(taxi);
- DestroyObject(taxi2);
- DestroyObject(taxi3);
- GameTextForPlayer(playerid, "~b~Seu TAXI agora esta ~n~~r~Fora de Serviço", 6000,3);
- return 1;
- }
- return 0;
- }
- //******************************************************************
- //Have Fun ! --> FS by Flashbrot
- //Tradução ! Capao_DATP
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement