Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //***Script Made By [SDF]Svenny55(Please dont edit or re-upload!!)***
- #include <a_samp>
- #define COLOR_YELLOW 0xFFFF00AA
- #if defined FILTERSCRIPT
- public OnFilterScriptInit()
- {
- print("\n--------------[v.0.2]-----------------");
- print("-----Pokerchip deliver minimission------");
- print("--------------by Svenny55-------------\n");
- return 1;
- }
- public OnFilterScriptExit()
- {
- print("\n--------------[v.0.2]-----------------");
- print("-----Pokerchip deliver minimission------");
- print("--------------by Svenny55-------------\n")
- return 1;
- }
- #else
- #endif
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if (strcmp("/pokerm", cmdtext, true) == 0)
- {
- AddStaticVehicle(414,996.9557,2135.7354,10.8203,82.2873,1,1);
- SetPlayerPos(playerid,992.1638,2135.5354,10.3947);
- SendClientMessage(playerid,COLOR_YELLOW,"Deliver the poker chips to the casino,");
- SendClientMessage(playerid,COLOR_YELLOW,"you will earn 100$! Succes.");
- SendClientMessage(playerid,COLOR_YELLOW,"TIP: Go to the checkpoint on");
- SendClientMessage(playerid,COLOR_YELLOW,"the map (thats the casino!)");
- SetPlayerCheckpoint(playerid,2040.9749,1006.9825,10.2425,3.0);
- return 1;
- }
- return 0;
- }
- public OnPlayerEnterCheckpoint(playerid)
- {
- RemovePlayerMapIcon( playerid, 51 );
- SendClientMessage(playerid,COLOR_YELLOW,"You have succesfully delivered the poker chips!");
- SendClientMessage(playerid,COLOR_YELLOW,"You earn 100 $!");
- DisablePlayerCheckpoint(playerid);
- GivePlayerMoney(playerid,100);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment