17.02.2015, 18:09
PHP код:
if(dialogid == DialogRescue){
switch(dialogid){
case DialogRescue:{
if(response){
switch(listitem) {
case 0:{
SetPlayerInterior (playerid, 0);
SetPlayerPos(playerid, X, Y, Z);
}
case 1:{
SetPlayerInterior (playerid, 0);
SetPlayerPos(playerid, X, Y, Z);
}
case 2:{
SetPlayerInterior (playerid, 0);
SetPlayerPos(playerid, X, Y, Z);
}
case 3:{
SetPlayerInterior (playerid, 0);
SetPlayerPos(playerid, X, Y, Z);
}
}
}
}
}
return 1;
}
Y: Coloque a coordenada Y
Z: Coloque a coordenada Z
Caso nгo saiba como pegar coordenadas:
Digite /save no local desejado dentro do game atravйs do chat ( T );
Depois vб: GTA San Andreas User Files\SAMP localizadas em Documentos
Vai se deparar com algo parecido com isso:
PHP код:
AddPlayerClass(1,1374.1072,-1756.2365,13.6156,266.9058,0,0,0,0,0,0);
X: 1374.1072
Y: -1756.2365
Z: 13.6156
Depois й sу alterar no script corretamente.
Abraзos