Lirbo

Untitled

Jan 26th, 2016
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ)
  2. {
  3. new TPString[128];
  4. if(weaponid == 22){
  5. SetPlayerPos(playerid,fX,fY,fZ);
  6. format(TPString,sizeof(TPString),"Teleported to shot coordinates (%f, %f, %f)",fX,fY,fZ);
  7. SendClientMessage(playerid,-1,String);}
  8. return 1;
  9. }
Advertisement
Add Comment
Please, Sign In to add comment