Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- #if defined FILTERSCRIPT
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if(strcmp(cmd, "/jetpack", true) == 0)
- {
- SetPlayerSpecialAction(playerid,SPECIAL_ACTION_USEJETPACK); SendClientMessage(playerid, 0xFF7F50AA, "Jetpack Spawned.");
- return 1;
- if(strcmp(cmdtext,"/rjetpack",true) == 0)
- {
- SetPlayerSpecialAction(playerid, SPECIAL_ACTION_NONE); SendClientMessage(playerid, RED, "Jetpack Removed.");
- return 1;
- }
- return 0;
- }
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement