Share Pastebin
Guest
Public paste!

Untitled

By: a guest | Mar 21st, 2010 | Syntax: None | Size: 0.32 KB | Hits: 85 | Expires: Never
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:x1,Float:y1,,Float:x2,,Float:y2
  5. GetPlayerPos(i,x2,y2,z1);
  6. GetPlayerPos(playerid,x1,y1,z1);
  7. SetPlayerFacingAngle(i,GetZAngleBetweenCoords(x1,y1,x2,y2));
  8. TogglePlayerControllable(i,0);