Search Results
Код:
GetVehicleSpeed(vehicleid)
{
new Float:vx, Float:vy, Float:vz, Float:vel;
vel = GetVehicleVelocity(GetPlayerVehicleID(playerid), vx, vy, vz);
vel = (floatsqroot(((vx*vx)+(vy*...
80
Which line exactly and which error, because the resolution by AbyssMorgan should fix it.
135
Quote:
Originally Posted by NaS
It is the same in this case (of course yours isn't wrong, but you don't have to do it, nor is it the solution here). Because any number greater than 0 is co...
107
Did you declare "rx" "ry" "rz" anywhere else?
118
Код:
if(strlen(inputtext) > 0)
Try this. I guess you are trying to check if the inputtext has any characters whatsoever. So by adding greater than 0, it will check if inputtext has any text at ...
107
Did you include it? Also could you show us the exact error please?
124
Quote:
Originally Posted by Dutheil
mysql_query has 2 mandatory arguments.
The first : Connection handle
The second : The query
https://sampwiki.blast.hk/wiki/MySQL/R33#mysql_query
PHP ...
62
You probably declared a public variable named "i" and then declared it again somewhere else. Try re-naming the private variables to another rather than the same variable name.
As Vince noted, this is...
117
Don't run xSF gamemode if you can't script. lmao
289
Remove
Код:
if(IsPlayerInAnyVehicle(playerid))
{
SetPlayerArmedWeapon(playerid, 0);
}
142
Код:
new LastMsg[MAX_PLAYERS];
public OnPlayerConnect(playerid)
{
LastMsg[playerid] = 0;
}
public OnPlayerText(playerid, text[])
{
if(strfind(LastText[playerid], text, false) != -1)
{
Last...
178
https://www.youtube.com/watch?v=RuwpFtzzjiQ
159
https://sampforum.blast.hk/showthread.php?tid=485633
This should help you out!
114
Код:
new stats[128];
mysql_format(mConnectionHandle, stats, sizeof(stats), "UPDATE ServerStats SET TotalAccounts = TotalAccounts + 1");
mysql_tquery(mConnectionHandle, stats);
150
Lmao, I haven't slept in days. Sorry for my mistake, as the guys said above you might have an anti-cheat.
152
Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if(IsPlayerInAnyVehicle(playerid))
{
if(newkeys == KEY_JUMP) // Left Shift
{
new engine, lights, alarm, doors, bonnet, boo...
132
Код:
CMD:prize(playerid,params[])
{
if(!IsPlayerAdmin(playerid))return SendClientMessage(playerid, COLOR_ERROR,"[ERROR]:you are not rcon admin");
new targetid,str[75],ammount,pname[MAX_PLAYER_NA...
152