Quote:
Originally Posted by Freak@
pawn Код:
if(!strcmp(cmdtext, "/deagledm", true)) { GivePlayerWeapon(playerid, 24, 50000000); new pName[24]; new str[128]; GetPlayerName(playerid, pName, 24); format(str, 128, "%s has teleported to /deagledm", pName); SendClientMessageToAll(0xFF9900AA, str); new RandomSpawn = random(sizeof(DESpawns)); SetPlayerPos(playerid, DESpawns[RandomSpawn][0], DESpawns[RandomSpawn][1], DESpawns[RandomSpawn][2], DESpawns[RandomSpawn][3]); SetPlayerFacingAngle(playerid, DESpawns[RandomSpawn][4]); ResetPlayerWeaponsEx(playerid, 24); return 1;
|
lollololololol it is
Код:
SetPlayerFacingAngle(playerid, DESpawns[RandomSpawn][3]);
just correcting XD