Wenn ich meine Mats Delivern möchte steht dort nun
Server Unknoewm Command???
if(strcmp(tmp,"deliver",true) == 0)
{
if(PlayerInfo[playerid][pBootsmann] == 0)
{
SendClientMessage(playerid,WHITE,"Du hast keine Materialen dabei");
return 1;
}
else
{
if(CP1[playerid] == 1)
{
if(IsPlayerInRangeOfPoint(playerid, 15.0, -1440.6125,390.9183,-0.0725))
{
new endlohn = PlayerInfo[playerid][pBootsmann]*500;
new string1111[128];
GivePlayerMoney(playerid,endlohn);
format(string1111, sizeof(string1111), "* Du hast %d Materials Pakete für $%d verkauft.", PlayerInfo[playerid][pBootsmann], endlohn);
SendClientMessage(playerid,WHITE,string);
PlayerInfo[playerid][pBootsmann] = 0;
return 1;
}
}
else if(CP2[playerid] == 1)
{
if(IsPlayerInRangeOfPoint(playerid, 15.0, 854.0779,1380.6956,-0.1582))
{
new endlohn = PlayerInfo[playerid][pBootsmann]*500;
new string1111[128];
GivePlayerMoney(playerid,endlohn);
format(string1111, sizeof(string1111), "* Du hast %d Materials Pakete für $%d verkauft.", PlayerInfo[playerid][pBootsmann], endlohn);
PlayerInfo[playerid][pBootsmann] = 0;
return 1;
}
}
else if(CP3[playerid] == 1)
{
if(IsPlayerInRangeOfPoint(playerid, 15.0, -2863.2322,1273.9257,-0.2789))
{
new endlohn = PlayerInfo[playerid][pBootsmann]*500;
new string1111[128];
GivePlayerMoney(playerid,endlohn);
format(string1111, sizeof(string1111), "* Du hast %d Materials Pakete für $%d verkauft.", PlayerInfo[playerid][pBootsmann], endlohn);
PlayerInfo[playerid][pBootsmann] = 0;
return 1;
}
}
else if(CP4[playerid] == 1)
{
if(IsPlayerInRangeOfPoint(playerid, 15.0, -1440.6125,390.9183,-0.0725))
{
new endlohn = PlayerInfo[playerid][pBootsmann]*500;
new string1111[128];
GivePlayerMoney(playerid,endlohn);
format(string1111, sizeof(string1111), "* Du hast %d Materials Pakete für $%d verkauft.", PlayerInfo[playerid][pBootsmann], endlohn);
PlayerInfo[playerid][pBootsmann] = 0;
return 1;
}
}
}
}