TeachersPet
Well-known member
- Joined
- Jul 27, 2005
- RedCents
- 71¢
This is called SetGrav. While it doesn't have much of a use, it's fun to use. Late night MPG trial groups just type /setgrav .05 and jump around the room. It's like the matrix IEQL 
REGULAR GRAVITY IS: .4

REGULAR GRAVITY IS: .4
Rich (BB code):
VOID SetGrav(PSPAWNINFO pChar, PCHAR szLine) {
CHAR szMsg[MAX_STRING] = {0};
CHAR Arg1[MAX_STRING];
GetArg(Arg1,szLine,1);
bRunNextCommand = TRUE;
if (Arg1[0]!=0)
{
((PZONEINFO)pZoneInfo)->ZoneGravity = (FLOAT)(atof(Arg1));
}
else
{
sprintf(szMsg,"Current Gravity is: %3.2f",((PZONEINFO)pZoneInfo)->ZoneGravity);
WriteChatColor(szMsg,USERCOLOR_DEFAULT);
}
return;
}

