"Change" code?
#1

Hi!


How to make those codes to just SetPlayerInterior etc...

I don't really know where Y,X,Z Are lol :P . Still haven't figure out ^^

Btw:

Here are the codes I want "Translated"

pawn Code:
AddPlayerClass(78,-0.4174,2525.6877,16.4844,3.4192,0,0,0,0,0,0); // Outside ammo 2
pawn Code:
AddPlayerClass(135,-0.2703,2528.2344,16.4922,8.4109,0,0,0,0,0,0); // ammo2
Reply
#2

Find the interior world for those coordinates.. http://weedarr.wikidot.com/interior
PHP Code:
if (strcmp("/enterammunation"cmdtexttrue10) == 0)
{
    if (
IsPlayerInRangeOfPoint(playerid5.0, -0.41742525.687716.4844)) //The coordinates you gave of the outside of ammunation.. Range to be in is 5 meter
    
{
        
SetPlayerPos(playerid,XYZ);  // Find the coordinates on samp wiki. 
        
SetPlayerInterior(playeridinteriorID);  // The interior World should be on weedarr.wikidot
        
return 1;
    }
    else return 
SendClientMessage(playerid0xFF0E0063"You are not at the entrance of ammunation");

Thats all I guess
Reply
#3

Hmm sorry for very bad explain.. But I didn't mean that.. I don't know what its named I don't remember :/.
Anyway thanks alot for your help!.. But I mean like this:
I mean: Code like just with out weapons,skin etc.. Just the spawn..
And I said SetPlayerInterior for an example. But thanks alot
Reply
#4

pawn Code:
AddPlayerClass(78, X, Y, Z, R,0,0,0,0,0,0); // Outside ammo 2
Reply
#5

Or just use /rs (raw save) instad of /save in the future. Hell a lot easier.
Reply
#6

Quote:
Originally Posted by Gerira Gaijin
View Post
pawn Code:
AddPlayerClass(78, X, Y, Z, R,0,0,0,0,0,0); // Outside ammo 2
Nice!!.. Thanks alot +rep like said but what does the R means??


Vince: Thanks alot!! +rep for you to xD..
Reply
#7

R means rotation

so from 0 to 360 degree
Reply
#8

Quote:
Originally Posted by milanosie
View Post
R means rotation

so from 0 to 360 degree
Ok, thanks alot!.
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)