Advertisement
Longibotti

Bot

May 5th, 2011
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.47 KB | None | 0 0
  1. #include <a_samp>
  2.  
  3. public OnFilterScriptInit()
  4. {
  5.     pickup = CreatePickup(1274, 2, 0.0, 0.0, 9.0);//Gegen eigene Werte ersetzen!
  6.     return 1;
  7. }
  8.  
  9. public OnPlayerPickUpPickup(playerid, pickupid)
  10. {
  11.     if(pickupid == pickup) ConnectNPC("TaxiC1","TaxiC1");
  12.     return 1;
  13. }
  14. /////////////////////Ab hier beginnt die Commandalternative
  15.  
  16. public OnPlayerCommandText(playerid, cmdtext[])
  17. {
  18. if (strcmp("/bot", cmdtext, true) == 0)
  19. ConnectNPC("TaxiC1","TaxiC1");
  20. return 1;
  21.  
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement