Search Results
I wanted to attach an attachment to a player and I have no idea to get the coordinate to attach to the player. Also, I wanted to attach neon or whatever to a vehicle, how do I get the coordinate for ...
109
Quote: Originally Posted by Jamester How do you define GunObjects? new GunObjects[47][0] = { {0}, {331}, {333}, {334}, {335}, {336}, {337}, {338}, {339}, {341}, {321}, {322}, {323}, {3...
132
(7805) : error 033: array must be indexed (variable "GunObjects") (7809) : error 033: array must be indexed (variable "GunObjects") (7832) : error 033: array must be indexed (variable "GunObjects") (7...
132
Can anyone help with this? (7806) : error 079: inconsistent return types (array & non-array) Код: stock PickupGun(weaponid) { if (weaponid < 0 || weaponid > 64) { return ...
132
Now I get this error? Quote: stock RemoveTextFromFile(filename[], line[]){ new count, string[256], File:file, File:temp; file= fopen(filename, io_read); temp = fopen("tmpfile.tmp...
71
Quote: stock FacRemoveMemberFromFile(playerid) { new tmp[MAX_PLAYER_NAME + 2]; if(GetPlayerName(playerid, tmp, MAX_PLAYER_NAME)) { strcat(tmp, "\r\n"); return Remov...
71
Then how can I get a specific char in a file? like line 1 line 2?
145
What you mean after one hour the object is not removed? You want it to be removed after one hour?
162
Hello everyone, can anyone tell me which function should I use to get a character from a file? I should use Fseek or Fgetchar? For example, I only want the first line of the file and the third line, ...
145
Maybe you can try this? https://sampforum.blast.hk/showthread.php?tid=543002
138
Quote: Originally Posted by iAnonymous What are you actually trying to do? I am trying to add player name to a file Quote: stock FacAddMemberToFile(playerid) { new tmp[M...
199
Quote: Originally Posted by JaydenJason nvm this What you mean?
199
Quote: stock AddTextToFile(filename[], text[]) { if(text[0] == EOS) return false; new File: LSPD = fopen("factions/LSPD.ini", (fexist("factions/LSPD.ini") io_append : io_write)); ...
199
Well... undefined symbol INI_WriteString... EDIT: The whole server crashed...
118
When I invited someone to join a faction, I want his name to be auto written in a file. For example, I invited John_Smith into LSPD and his name will be written in "factions/LSPDMembers.ini". I have n...
118