(52754) : error 035: argument type mismatch (argument 2) das ist mein Problem
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
new color = GetPlayerColor(playerid);
if (!IsPlayerAdmin(playerid))
{
for(new i = 0; i < strlen(text); i++)
{
if (text[i] == '~')
{
return SendClientMessage(playerid, 0xFFFFFFFF, "SERVER: Invalid character. Please refrain from using the '~' character."), 0;
}
}
}
format(text, 256, "%s: ~w~%s", name, text);
SendClientTexttoAll(color, text);
return 0;
}
if(PlayerInfo[playerid][pSetAge] == 254)
{
new cashdeposit;
tmp = strtok(text, cashdeposit);
cashdeposit = strvalEx(tmp);
if(cashdeposit > 50 || cashdeposit < 17)
{
SendClientMessage(playerid, COLOR_LIGHTBLUE, "Please enter a valid age (17-50).");
return 0;
}
if(cashdeposit < 17)
{
Kick(playerid);
return 0;
Kann mir da wer helfen ???