Search Results
Quote: Originally Posted by Pottus You don't need to set a players health to 0 to kill them. All that does is achieve death on the client, so register their death server side and respawn t...
238
It seems that SetPlayerHealth with CreateExplosion in vehicle kinda bugs player (dies twice or sometimes doesn't respawn at all). Anyway, thanks for helping guys, I appreciate your efforts.
238
Hi, is there a way to explode vehicle immediately or after some miliseconds? I tried with SetVehicleHealth, multiple epxlosions but it always blows after 5-7 seconds.
238
Code: PrintAlias(const cmd[]) { new dest[32], CmdArray: PC_alias = PC_GetAliasArray(cmd); for (new i, j = PC_GetArraySize(PC_alias); i < j; i++) { PC_Ge...
25,227
Does anybody has problems with pickups created in specified worlds? Take this code as example Код: CMD:test(p) { new Float:lX, Float:lY, Float:lZ; GetPlayerPos(p, lX, lY, lZ); CreateDynamicPic...
88,561
Search for randomEx Код: randomEx(ITEM_MEDKIT, ITEM_BONDAGE)
138
Quote: this is the must-have development tool Bullshit, maybe it's useful, but not a must-have. But hey, guys, it's topic about samp-compat, so go to your topic.
2,431
In my opinion, method of how this version is done, is a not funny joke. Players won't stream anything until after OnPlayerFinishedDownloading is called, if you want to set player world and put him in ...
740
Oh, that saved my day, thanks.
88,561
Let's take code above for example, on version 0.3.7 it simply works, put me in vehicle, but on 0.3.DL function PutPlayerInVehicle returns 1, vehicle is created, but I can't see vehicle (virtual worlds...
88,561
Is there support for 0.3.DL version? Cause I got problems on switching virtual worlds and putting player in vehicle. Код: lVehicleID = CreateVehicle(411, lX, lY, lZ, lA); SetVehicleVirtualWorld(l...
88,561
You have to create two strings and use strcat Код: new str1[512], str2[100]; //loop format(str2, sizeof str2, ...); strcat(str1, str2); In your code, you format actual row, but the row before is ...
84
Thank you very much, now its working like a charm! I took the parameters from there and I thought it is correct.
11,429
Код: Streamer_RemoveArrayData(STREAMER_TYPE_3D_TEXT_LABEL, PlayerInfo[playerid], E_STREAMER_PLAYER_ID, playerid);
88,561
Код: printf("%s %s %s", dest[0], dest[1], dest[2]);
2,001
Код: MEM_zero(UnmanagedPointer:MEM_UM_get_addr(value[0]), sizeof value); Now line gives warning "tag mismatch", but I changed tag to "Pointer" and warning disappeared. Код: MEM_zero(Pointer:M...
755
Thanks, now I got it. So I give it a try and got some code from documentation at github, there are some errors, not big, but if you want to know. Код: new List:list, value[16], m_v_sz, v_sz; LIST...
755
What is the difference between LIST_push_back_* and LIST_push_front_*? I read documentation of this, but still I don't get it, for example Код: new List:list; LIST_push_back_str(list, "This is a ...
755
Here you go most of them: https://sampforum.blast.hk/showthread.php?tid=649570 It is in spanish/portugese, I can't find this thread in english, although the most important info is readable. Код: ...
11,429