26.04.2010, 16:38
https://sampwiki.blast.hk/wiki/Fremove
That works only in Scriptfiles folder?
I have users folder in Scriptfiles.
Like Picharelo.ini
/Root/scriptfiles/users/Picharelo.ini
Then:
fremove("/users/Picharelo.ini"); ?
That works only in Scriptfiles folder?
I have users folder in Scriptfiles.
Код:
/Root/ /Root/scriptfiles /Root/scriptfiles/users
/Root/scriptfiles/users/Picharelo.ini
Then:
fremove("/users/Picharelo.ini"); ?
Код:
new plname[MAX_PLAYER_NAME]; GetPlayerName(playerid, plname, sizeof(plname)); new namestring = strfind(plname, "_", true); if(namestring == -1) { SendClientMessage(playerid, COLOR_YELLOW2, "[NIMIKONTROLLIJA] Su nimi ei ole sobiv!"); SendClientMessage(playerid, COLOR_YELLOW2, "[NIMIKONTROLLIJA] Su nimi peab olema formaatides Eesnimi_Perenimi."); fremove(plname); Kick(playerid); return 1; }