Cum pot schimba
#1

Cum pot schimba spawn civil..eu am coordonatele dar nu stiu cum sa il schimb..ma puteti ajuta?
{
SetPlayerToTeamColor(playerid);
if(PlayerInfo[playerid][pOrigin] == 1)//LosSantos
{
SetSpawnInfo(playerid, 0, PlayerInfo[playerid][pChar], 420.1401,-1504.7267,31.2502, 0, 0 , 0, 0, 0, 0, 0);
PlayerInfo[playerid][pInt] = 0;
PlayerInfo[playerid][pvw] = 0;
}
else if(PlayerInfo[playerid][pOrigin] == 2)//SanFierro
{
SetSpawnInfo(playerid, 0, PlayerInfo[playerid][pChar], -1968.5564,160.9078,27.6875, 0, 0 , 0, 0, 0, 0, 0);
PlayerInfo[playerid][pInt] = 0;
PlayerInfo[playerid][pvw] = 0;
}
else
{
SetSpawnInfo(playerid, 0, PlayerInfo[playerid][pChar], 420.1401,-1504.7267,31.2502, 0, 0 , 0, 0, 0, 0, 0);
PlayerInfo[playerid][pInt] = 0;
PlayerInfo[playerid][pvw] = 0;
}
return 1;
}
}
return 1;
}
Si vreu sa schimb la los santos cu coordonatele 283,286.0091,-1591.3245,32.7646,355.1381,0,0,0,0,0,0 Nu sctiu cum ..adica am modificat si imi da eroare..
Reply
#2

dec in loc la coordonatele de la ls din fs sau gm tau(adica astea:1968.5564,160.9078,27.6875, 0, 0 , 0, 0, 0, 0, 0)inlocuiesti cu cele din /save, copiezi totul pana la capat dupa skin id. la fel si la sf in loc de coordonatele astea:1968.5564,160.9078,27.6875, 0, 0 , 0, 0, 0, 0, 0); le pui pe care le vrei
din asta
SetSpawnInfo(playerid, 0, PlayerInfo[playerid][pChar], 420.1401,-1504.7267,31.2502, 0, 0 , 0, 0, 0, 0, 0);
PlayerInfo[playerid][pInt] = 0;
PlayerInfo[playerid][pvw] = 0;
modifici coordonatele cu cele din ls. sper ca tiam fost de ajutor
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)