Search Results
Quote: Originally Posted by Zeus666 I have already try this, still undefined symbol. item I think you just need to pass a string. pawn Код: CreateLootsZombie("String",fPos[0],fPos[...
184
Get rid of the square brackets when calling functions. Right code: pawn Код: CreateLootsZombie(item,fPos[0],fPos[1],fPos[2]);
184
The first code is correct to use.
93
Quote: Originally Posted by Zeus666 Just tested it in game. Knowns bugs 1) When player is killed, his character rotates in 380 grades. (If he is facing forward, his actor faces backsward...
222
Is there the 'pSkin' function in the code? Quote: Originally Posted by Zeus666 i modified it with death_actor[playerid] = CreateActor(pInfo[playerid][pSkin], x, y, z, 0.0); and it works...
222
This code will not work because the first three parameters are incorrectly passed. CreateActor function pawn Код: CreateActor(pSkin(playerid), x, y, z, 0.0 /* rotation */);
222
Before writing something into the file you must check its status because it might not be opened; and after working with the file you must close it to avoid some crashes. Example: pawn Код: new Fi...
126
******, does the library have an implementation for hooked timers? Example: pawn Код: ptask foo[1000](playerid) { /*code*/ }hook ptask foo[1000](playerid) { /*code*/ }
280
The reason isn't an array. You need use GetWeaponName to get weapon name.
108
Quote: Originally Posted by wallee is there a way to hook ptasks? i tried this: Код: ptask Justatimer[1000](playerid) { printf("Original code."); } hook:Justatimer(playerid) { prin...
280
Quote: Originally Posted by Weline I don't know how, but it works now, thanks a lot! The library updates the unique number for all functions when you include it again.
150
Hm... Try to include the library before the function definition. pawn Код: #include <YSI\y_hooks>hook OnPlayerConnect(playerid){    // code..}
150
Did you write this function in the same file?
150
The design is so cool. They want to use only one single design style in all their applications (search engine, browser, e-mail, etc.) However, I don't use it because G-company sends a lot of personal ...
2,895
You have one dimension array, so you don't need to use the square brackets in the sizeof operator. I also recommend that you use a 'static const' array to get the size of the string. pawn Код: CM...
187
Quote: Originally Posted by ea8de1 Всем привет, Правда ли, что код на C/C++ в плагине отрабатывает значительно быстрее, н...
93,787
Выставить нормальную дистанцию для каждого объекта при создании. Таким образом, стример будет выгружать объ...
393
Quote: Originally Posted by pawnoholic Как можно каллбэк сделать приватным, чтобы к нему не было доступа из мода/фс? Или ...
93,787