Share Pastebin
Guest
Public paste!

Untitled

By: a guest | Mar 21st, 2010 | Syntax: None | Size: 0.33 KB | Hits: 118 | Expires: Never
This paste has a previous version, view the difference. Copy text to clipboard
  1. format(string,sizeof(string),"%s (%.0fm) frozen",Name(i),distance);
  2. SendClientMessage(playerid,COLOR_GREY,string);
  3. new Float:z1
  4. new Float:ax1,Float:ay1,,Float:px2,,Float:py2
  5. GetPlayerPos(i,px2,py2,z1);
  6. GetPlayerPos(playerid,ax1,ay1,z1);
  7. SetPlayerFacingAngle(i,GetZAngleBetweenCoords(ax1,ay1,px2,py2));
  8. TogglePlayerControllable(i,0);