Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // define natives
- native CreatePlayer <= FF
- function test(void) { }
- function foo(int iVariables, pointer ptrA) { }
- function main(void) {
- local int a
- local int b
- local int playerID
- sco {
- push playerID // the same like if playerId
- .if {
- push 2
- .ptr playerID
- call foo // the same like foo(2, &playerID)
- }
- }
- if playerID {
- foo(2, &playerID)
- }
- //a = 3
- CreatePlayer(255, 2000.0, 3000.0, 0, 9, &playerID) ?? 0
- if a == b { test(void) }
- if a == 3 { test(void) }
- if b == 4 { test(void) }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement