SA-MP Forums Archive
Delete string - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Delete string (/showthread.php?tid=191045)



Delete string - DRIFT_HUNTER - 17.11.2010

Ok its me again
I have these system
pawn Код:
#define MAX_GANGS 6
new gangNames[MAX_GANGS][MAX_GANG_NAME];
//How i store gang name (i is the ID)
format(gangNames[i], MAX_GANG_NAME, "%s", gang_name); //gang_name (params) player input
So how i can delete WHOLE gang name?


Re: Delete string - rs.pect - 17.11.2010

pawn Код:
gangNames[i][0] = '\0';