12.11.2013, 14:55
Ah okay it compiles alright but still doesnt save.
this is what i made now;
this is what i made now;
pawn Код:
if(!strcmp(cmdtext, "/ownit", true))
{
new name[MAX_PLAYER_NAME+1], string[32];
GetPlayerName(playerid, name,sizeof(name));
format(Companies[0][Owner], 32, "%s", string);
Companies[0][Owner]= string;
SaveCompanyInfo(0);
return 1;
}