(MAP)Bomb~House
#1

Bomb House
About: I been bored all day so I made this, This is just a house on one of those pedistools in the desert, There is 128 objects, theres a explosive barrell line shoot and then kaboom.
Pics: Will only do 1 or 2
Thats only a few of the main parts but cbf doing the rest of the pics.
Theres a tele command,
pawn Код:
if (strcmp("/house", cmdtext, true, 6) == 0)
{
                           SetPlayerPos(playerid,20.331356,2263.322998,125.803062);
    return 1;
Download:
Reply
#2

hey can u plz tell me how to get the script working in the pawn i pasted it der and it says 3 errors

wat to do plz help !
Reply
#3

Tell me the errors.
Reply
#4

It has five errors..


[code=pawno]
C:\Documents and Settings\7as-RAZA\My Documents\Downloads\newhouse(2).pwn(5) : error 017: undefined symbol "cmdtext"
C:\Documents and Settings\7as-RAZA\My Documents\Downloads\newhouse(2).pwn(7) : error 017: undefined symbol "playerid"
C:\Documents and Settings\7as-RAZA\My Documents\Downloads\newhouse(2).pwn(9) : warning 225: unreachable code
C:\Documents and Settings\7as-RAZA\My Documents\Downloads\newhouse(2).pwn(140) : error 029: invalid expression, assumed zero
C:\Documents and Settings\7as-RAZA\My Documents\Downloads\newhouse(2).pwn(140) : error 004: function "OnFilterScriptExit" is not implemented
C:\Documents and Settings\7as-RAZA\My Documents\Downloads\newhouse(2).pwn(144) : error 030: compound statement not closed at the end of file (started at line 5)
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
[/code]
Reply
#5

it has no errors except you made mistakes for example copy the teleport command anywhere in the script it has to be in a gamemode under onplayercommand
Reply
#6

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/house", cmdtext, true, 6) == 0)
    {
        SetPlayerPos(playerid,20.331356,2263.322998,125.803062);
        return 1;
    }
    return 0;
}
Fixed.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)