Search Results
I know the 'format' was the wrong argument, but my point is not that. I just dont know why the GetPlayerPos returns 0.0.
Edit: I fixed the problem, the enum variable of 'static_string' was an integer...
70
I don't know why did this happened, my whole scripts worked properly, but I don't know why this one did not work:
Код:
CMD:create_street(playerid, params[])
{
new Float: player_pos[3];
if(player...
70
I've been looking for this months ago.
*jejak*
1,062
Instead of posting a request on scripting help section, you could post it as TheToretto linked.
But if nobody helped you, you could try to download a gamemode (I suggested roleplay gamemode), then co...
87
I don't know why my code didn't work (the master account wont save) when I did GMX through samp-server.exe and in-game ('/rcon gmx'), but it all went well when I did quit (/q). Does somebody know why?...
52
I've tried to make a dynamic arena system, creating, editing, and saving are working properly. But when I tried to load it, the positions and weapons are not loaded, here are the codes:
PS: In this c...
45
Use your search button, bro, you will find lot of helps.
But okay, no problem, here is a Filterscript, try to learn something from the Filterscript:
https://sampforum.blast.hk/showthread.php?tid=16174...
59
Instead of confusing you (and my (and our)) mind, you might try this:
PHP код:
stock PlayerPhoneExist(playerid)
{
new
string[128]
;
if(PlayerInfo[playe...
180
We are newbies, yeah you and me, for me to learning, I prefer to edit some basic gamemodes, then if you think you are good to ranked up, make some DM gamemodes, choose some servers for ideas, but don'...
62
I already told my friend to do on his own computer and connection, and he can (he can connect into it and he also can login):
PHP код:
180.248.10.205/phpmyadmin
But the question is why m...
73
What you mean? Do you want to split the string when it's over the limit?
Like example:
Hreesang says: Bro what's up bro what's up, hahaha, you're so funny, hahaha, what's up bro?
To:
Hreesang says:...
197
I've just learnt portforwarding and I'm success, my server is online now (non mysql).
So I tried somebody's gamemode Base Roleplay Script (LS-RP replica) and using mysql, but when I tried to connect m...
73
Thank you guys for the positive comments
Quote:
Originally Posted by Wolfe
The reason you're getting cut off on the text is because of big the character array is.
Код:
str[1000], str...
1,315
The code is correct, but I don't know why it still can't saving, maybe before player disconnects you set the players pJob to zero?
160
This is my first filterscript I made, I got the idea from LS-RP damage system and then I tried to code that system, hope you enjoy this one.
I've found a bug if the dialog characters reached 1000+ it...
1,315
Quote:
Originally Posted by akib
but bro job not saving :/
How do you save your job?
160
INI_Int is for an integer, INI_String is for a string and INI_Float is for a float
PHP код:
forward LoadUser_data(playerid,name[],value[]);
public LoadUser_data(playerid,name[],value[])
{
...
160
Quote:
Originally Posted by andrejc999
Yeah so just switch
new date;
with
new date[32];
Do like what he said and
PHP код:
if(PlayerInfo[playerid][SalaryDate] == date)
...
107
The pName[MAX_PLAYERS] is wrong, it should be pName[MAX_PLAYER_NAME]. And also tthe float should be uppercase (Float: x, Float:y, Float:z)
184
Here is some commands I just made, hope it helps you.
Код:
CMD:seat(playerid, params[])
{
ApplyAnimation(playerid, "PED", "SEAT_DOWN", 4.0, 0, 0, 0, 0, 0, 1);
SetTimerEx("SitAnim", 1000, false,...
90