Guten Morgen
Also ich hab das Problem, unzwar hab ich ein Pickup erstellt, und wenn man am Pickup ist, soll man den befehl /members machen können. Aber wenn ich auf das Pickup zu gehen, teleportiert er mich zu meinen Autohaus. Er soll mich aber nicht teleportieren ???
Hier der Script
new LCNPC;
{
if(pickupid == LCNPC)
{
SendClientMessage(playerid, COLOR_RED, "™LCN Computer™");// La Cosa Nostra Computer
}
if (strcmp(cmd, "/members", true) ==0 )
{
if(IsPlayerConnected(playerid))
{
if (PlayerToPoint(3, playerid,369.1923,192.4079,1014.1875)) //<<<<< Die
{
SendClientMessage(playerid, COLOR_GREEN, "| Member Online|");
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(PlayerInfo[playerid][pRank] == 6)
if(PlayerInfo[playerid][pLeader] == 5)
{
GetPlayerName(i, sendername, sizeof(sendername));
format(string, 256, "Boss: %s", sendername);
SendClientMessage(playerid, COLOR_GRAD2, string);
}
if(PlayerInfo[playerid][pRank] == 5)
if(PlayerInfo[playerid][pLeader] == 5)
{
GetPlayerName(i, sendername, sizeof(sendername));
format(string, 256, "Underboss: %s", sendername);
SendClientMessage(playerid, COLOR_GRAD2, string);
}
if(PlayerInfo[playerid][pRank] == 4)
if(PlayerInfo[playerid][pLeader] == 5)
{
GetPlayerName(i, sendername, sizeof(sendername));
format(string, 256, "Capo: %s", sendername);
SendClientMessage(playerid, COLOR_GRAD2, string);
}
if(PlayerInfo[playerid][pRank] == 3)
if(PlayerInfo[playerid][pLeader] == 5)
{
GetPlayerName(i, sendername, sizeof(sendername));
format(string, 256, "Assiocate: %s", sendername);
SendClientMessage(playerid, COLOR_GRAD2, string);
}
if(PlayerInfo[playerid][pRank] == 2)
if(PlayerInfo[playerid][pLeader] == 5)
{
GetPlayerName(i, sendername, sizeof(sendername));
format(string, 256, "Soldat: %s", sendername);
SendClientMessage(playerid, COLOR_GRAD2, string);
}
if(PlayerInfo[playerid][pRank] == 1)
if(PlayerInfo[playerid][pLeader] == 5)
{
GetPlayerName(i, sendername, sizeof(sendername));
format(string, 256, "Außenseiter: %s", sendername);
SendClientMessage(playerid, COLOR_GRAD2, string);
}
}
}
}
}
return 1;
}
Help me Please xD