Search Results
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[]){ if (strcmp("/house", cmdtext, true, 6) == 0) { SetPlayerPos(playerid,20.331356,2263.322998,125.803062); r...
306
Quote:
Originally Posted by Don Correlli
Just set a variable in the command 1 and use the if-statement to check the variable in the command 2.
I'm too big of an amateur to understand th...
311
Got a guide or something?
311
Yep, the if(GetVehicleModel(vehicleid) == 573) worked.
Next step which has nothing to do with that..
- Is it possible to disable a CMD by using another CMD?
311
pawn Код:
if (GetPlayerVehicleID(playerid) == 573))
Код:
error 029: invalid expression, assumed zero
:/
EDIT: O I C. Too many brackets lol.
311
Hey, I can't figure out how to do this properly. When you enter vehicle 573, a GameTextForAll() should pop up. Here is the code:
pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassen...
311
I've got a problem. The /mdelevator has ALWAYS been working, but suddenly it just doesn't.. This is what I've made(NO ERRORS AT ALL):
Pastebin link
pawn Код:
new FDGate1,FDMaingate, FDGate1status,...
74
Quote:
Originally Posted by Peter Corneile [hugu-hosting.co.uk
]
Its just a matter of wrong identation
Well. What about the /enter code. It's disabled somehow..?
244
Didn't change anything.
Here are all my cmds, if that'd help you find the issue:
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[]){if (strcmp("/fdhangar", cmdtext, true, 10) == 0) ...
244
Well.. I have abseloutely no idea what went wrong.. I just entered a simple /enter cmd, yet it doesn't work.. Also I can't find the problem with line 385(/mdelevator). There is a loose indentation, ca...
244
Quote:
Originally Posted by Don Correlli
Quote:
Originally Posted by Shinzei_Banzai
No.
Yes.. you have everything on wiki, even examples.
The link you send me doesn't ans...
198
Quote:
Originally Posted by ►►►Peter Corneile◄◄◄
pawn Код:
forward PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z);forward WhateverName(playerid);
Then
paw...
198
I guess it's added to the runway already. Like the red lights on some skyscrapers.
158
Heya.
Which
pawn Код:
Public
function do I add
pawn Код:
GameTextForPlayer
to?
Like this:
pawn Код:
public OnSomethingIdontKnow{if (PlayerToPoint(26, playerid, x, y, z))GameTextForPlayer...
198
Ummh I didn't really understand that :/ Can you explain a bit more on how to?
168
Quote:
Originally Posted by еddy
To create the "red markers" A.K.A. checkpoints, you must use SetPlayerCheckpoint. When the player enters the checkpoint (IsPlayerInCheckpoint), you'll hav...
168
Hey there. I am currently scripting a job including lawnmowing, I will briefly explain what I am doing and want to do.
***What I made***
"/lawn start" spawns a red marker.
When you enter a red marker...
168
Quote:
Originally Posted by cοοp
Quote:
Originally Posted by Shinzei_Banzai
You mean this?
pawn Код:
if IsPlayerInsideVehicle(playerid, 572)=true
Oh, sorry. I didn't ...
250
Okay I edited something and I ended up with this:
pawn Код:
} if (strcmp("/grass start", cmdtext, true, 10) == 0) { if IsPlayerInsideVehicle(playerid, 572)*then { } SetPlayerC...
250