09.03.2009, 00:19
i wanted to make the class selection on that stranded island but i lost the co-ords for it, so i would appreciate if someone could post it!
Thanks A Bunch!
Thanks A Bunch!
Originally Posted by Ethan1123
i wanted to make the class selection on that stranded island but i lost the co-ords for it, so i would appreciate if someone could post it!
Thanks A Bunch! |
AddPlayerClass(120,1632.0674,-1172.5106,24.0843,143.0532,0,0,0,0,0,0);
Originally Posted by Rav
1. Go to the island
2. Type /save 3. Open up windows explorer, find your GTA installation directory and open the file savedpositions.txt 4. The last line contains the coords, it looks like this probably: Код:
AddPlayerClass(120,1632.0674,-1172.5106,24.0843,143.0532,0,0,0,0,0,0); 6. If you also need a facing angle, that's the 5th value in that line (143.0532 in my example) 7. You're done |
if(strcmp(cmdtext, "/mypos", true)==0) { new Float:X, Float:Y, Float:Z, Float:A, str[128]; GetPlayerPos(playerid, X, Y, Z); GetPlayerFacingAngle(playerid, A); if(IsPlayerInAnyVehicle(playerid)) { GetVehicleZAngle(GetPlayerVehicleID(playerid), A); } format(str, 128, "Your position: %.3f, %.3f, %.3f Facing Angle: %.2f", X, Y, Z, A); SendClientMessage(playerid, 0xFFFF00AA, str); return 1; }