Posts: 31
Threads: 16
Joined: Jun 2010
Reputation:
0
Hi again...when i enter in a HQ(/enter) and then i go out(/exit) the cars dissapeared...How can i solve this?Thanks!!!
Posts: 198
Threads: 3
Joined: Nov 2008
Reputation:
0
posting some codings like /enter and /exit would help alot, and show me how your cars are spawned(probly at OnGameModeInit with CreateVehicle)
Posts: 31
Threads: 16
Joined: Jun 2010
Reputation:
0
this is /enter:
if(strcmp(cmdtext, "/enter", true) == 0)
{
if(PlayerInfo[playerid][pMember] >= 6 || PlayerInfo[playerid][pLeader] >= 6)
{
if PlayerToPoint(5,playerid,-2522.0139,1215.7468,37.4283)
*then
{
SetPlayerPos(playerid,748.6010,1437.7462,1102.9531 );
SetPlayerInterior(playerid,6);
SetPlayerVirtualWorld(playerid, 6);
SendClientMessage(playerid,COLOR_1GREEN,"*** Welcome to Yakuza HQ !");
return 1;
}
}
}
maybe is something at Virtual World..
and /exit
if(strcmp(cmdtext, "/exit", true) == 0)
{
if(PlayerInfo[playerid][pMember] >= 0 || PlayerInfo[playerid][pLeader] >= 0)
{
if PlayerToPoint(5,playerid,744.7842,1437.1365,1102.7 031)
*then
{
SetPlayerPos(playerid,-2522.0139,1215.7468,37.4283);
SetPlayerInterior(playerid,0);
return 1;
}
}
}