SA-MP Forums

Go Back   SA-MP Forums > Search Forums

Showing results 1 to 25 of 500
Search took 0.03 seconds.
Search: Posts Made By: coool
Forum: Scripting Help 04/01/2020, 10:39 AM
Replies: 7
Views: 201
Posted By coool
Re: Optimization

I don't have an optimization (you don't need it) but variables have 0 value by default.
Forum: Scripting Help 03/01/2020, 01:27 PM
Replies: 4
Views: 104
Posted By coool
Re: Whats the difference?

The compiler will take care of white space.
Forum: Scripting Help 02/01/2020, 01:33 PM
Replies: 6
Views: 128
Posted By coool
Re: newline GameTextForPlayer not work

Do you mean each line should be on new line? then you have to insert '~n~' on the end of every line
Edit: btw your variables' size is larger
Forum: Scripting Help 30/12/2019, 03:11 PM
Replies: 19
Views: 337
Posted By coool
Re: after player dies from shots, it shows "Splat" instead of the weapon shot at the player

You have misunderstood something
format(s, 36, "%s - (Fist) -%.0f", issuername, amount); //The one who got damaged
format(s, 36, "%s - (Fist) +%.0f", pname, amount); //The one who damaged it...
Forum: Scripting Help 30/12/2019, 05:09 AM
Replies: 19
Views: 337
Posted By coool
Re: after player dies from shots, it shows "Splat" instead of the weapon shot at the player

For splat: issuerid should be 'INVALID_PLAYER_ID'. Check if issuerid is invalid, if it is then don't change the textdraw
Forum: Scripting Help 28/12/2019, 02:00 PM
Replies: 15
Views: 627
Posted By coool
Re: how to detect the pos where bomb drops?

Have you made sure that colandreas is compatible with your sa-mp version?
Forum: Gamemode Scripts 17/12/2019, 03:25 PM
Replies: 53
Views: 15,229
Posted By coool
Re: SWAT VS TERRORISTS [Released]

65535 = Invalid player.
Put this above line 13765 --> if (issuerid != INVALID_PLAYER_ID) {
then ident the nested code one tab forward
lastly put this symbol at the end --> }
Forum: Scripting Help 15/12/2019, 09:42 AM
Replies: 5
Views: 120
Posted By coool
Re: Unshow message for specif player?

SendClientMessageToAllExcept(const color[], const message[], exceptid)
{
for (new i,j=GetPlayerPoolSize(); i <= j && i != exceptid; i++)// i != exceptid, 'i' will never be equal to exceptid
...
Forum: Scripting Help 09/12/2019, 04:04 PM
Replies: 15
Views: 238
Posted By coool
Re: [Help] Server Error :<

I'm sorry, I can't find the problem array. :sad: :sad: wait for some one else.
Forum: Scripting Help 09/12/2019, 03:48 PM
Replies: 15
Views: 238
Posted By coool
Re: [Help] Server Error :<

:picard:
else if(dialogid == DIALOG_STOREITEMPRICE)
{
Show what is inside this one
Forum: Scripting Help 09/12/2019, 03:40 PM
Replies: 15
Views: 238
Posted By coool
Re: [Help] Server Error :<

Post the easy dialog function that has ID 'STOREITEMPRICE'
Dialog:STOREITEMPRICE(playerid, response, listitem, inputtext[])
{
//Post what is inside this.
return 1
}
Forum: Scripting Help 09/12/2019, 03:31 PM
Replies: 15
Views: 238
Posted By coool
Re: [Help] Server Error :<

The problem is not dialogid, it is in the easy dialog function.
Forum: Scripting Help 09/12/2019, 03:08 PM
Replies: 15
Views: 238
Posted By coool
Re: [Help] Server Error :<

The error describes itself, you are trying to read index 16 from an array of size 16. Array indices start from 0, that means an array that can store 16 items actually has 15 indices..
#0 005e4c98 in...
Forum: Scripting Help 09/12/2019, 09:37 AM
Replies: 15
Views: 627
Posted By coool
Re: how to detect the pos where bomb drops?

make sure that your colandreas version is compatible with your sa-mp version
Forum: Scripting Help 02/12/2019, 09:48 AM
Replies: 15
Views: 627
Posted By coool
Re: how to detect the pos where bomb drops?

Yes, this include implements Physics formulas in-game so that other people should have an easy time :)
new bombProjectile;
UnderWhereeverYouCreateBomb(playerid)
{
new Float:x,Float:y,Float:z;...
Forum: Scripting Help 29/11/2019, 03:15 PM
Replies: 6
Views: 179
Posted By coool
Re: Fake Compilation Pawn

It can be done in 2,3 seconds, depends on the compiler. What is the size of .amx file?
Forum: Scripting Help 23/11/2019, 09:42 AM
Replies: 15
Views: 627
Posted By coool
Re: how to detect the pos where bomb drops?

Search projectile motion maybe it is what you need?
Forum: Scripting Help 22/11/2019, 03:26 PM
Replies: 4
Views: 223
Posted By coool
Re: 9/5000 Help with (CMD)

https://wiki.sa-mp.com/wiki/Control_Structures#Operators
Forum: News and Updates 22/11/2019, 09:47 AM
Replies: 110
Views: 41,052
Posted By coool
Re: SA-MP 0.3.7 R4 client update (strongly recommended)

An update is always a good thing. Thanks!

Hope this encourages people to update.
Forum: Screenshots and Videos 22/11/2019, 09:31 AM
Replies: 3
Views: 344
Posted By coool
Forum: Scripting Help 20/11/2019, 04:20 PM
Replies: 11
Views: 287
Posted By coool
Re: Admin command level prob

>= means greater than or equal to
Forum: Scripting Help 20/11/2019, 03:42 PM
Replies: 11
Views: 287
Posted By coool
Re: Admin command level prob

> greater than
< less than
if(PlayerInfo[playerid][Admin] >= 2) return SendClientMessage(playerid, Dred, NOTALLOWED );
will show the message for admin levels above 2.
< is correct
Forum: General 19/11/2019, 02:51 PM
Replies: 21
Views: 3,299
Posted By coool
Forum: Scripting Help 11/11/2019, 10:38 AM
Replies: 10
Views: 257
Posted By coool
Re: Help onplayertext

What is the problem?
Forum: Scripting Help 11/11/2019, 09:31 AM
Replies: 6
Views: 196
Posted By coool
Re: warning 203: symbol is never used: "id"

There is also an alternative #pragma unused id //pragma was discouraged in the now-deleted rules thread
Showing results 1 to 25 of 500

 

All times are GMT. The time now is 02:43 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.