Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1. player enters cmd
- 2. looping through ALL amxes and check if CMD exists, break as soon as found
- 3. call OnPlayerRequestCommand(playerid, cmdtext[], exists) BUT ONLY in GAMEMODE
- 4. if return == 0 do nothing, if return == 1 call CMD from step 2
- 1. player enters cmd
- 2. check GAMEMODE if cmd exists if yes go to step 5
- 3. loop through all amxes check if cmd exists, break if found
- 4. if cmd not found call CALLBACK in gamemode exists = false
- 5. check if CALLBACK exists where cmd was found
- 6. if return == 0 do nuttin, if return == 1 call CMD in same AMX
Advertisement
Add Comment
Please, Sign In to add comment