Simple error, but I cannot find a fix for it!
#4

if (strcmp(ParameterName, "Company", false) == 0) // If the parametername is correct ("Company")
{
if (strcmp(ACompanyData[strval(ParameterValue)][Owner], Name, false) == 0) // Check if the player is the true owner of the Company
{
pawn Код:
APlayerData[playerid][Company][ComIndex] = strval(ParameterValue); // Store the CompanyID at the selected slot
ComIndex++; // Select the next Company-slot in case another Company-id is found
}
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)