AshkanN

[SAMP] DCMD Define

Feb 12th, 2016
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.92 KB | None | 0 0
  1. /*
  2. ***************************************************************************************************************************************
  3.                                                 Willkommen im Script von AshkanN!
  4.                                     Dieses Script wurde von AshkanN erstellt und veröffentlicht.
  5.                                 Du darfst dieses Script editieren, aber NICHT weiter veröffentlichen!
  6.                                                 Copyright (c) 2009-2016, AshkanN
  7. ***************************************************************************************************************************************
  8. */
  9.  
  10. //DCMD für Pawno als Define
  11. //
  12. //Installation:
  13. //Folgendes ganz oben im Script einfügen:
  14. #define dcmd(%1,%2,%3) if ((strcmp((%3)[1], #%1, true, (%2)) == 0) && ((((%3)[(%2) + 1] == 0) && (dcmd_%1(playerid, "")))||(((%3)[(%2) + 1] == 32) && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1
Add Comment
Please, Sign In to add comment